Skip to content
  1. Apr 28, 2013
  2. Apr 27, 2013
  3. Apr 26, 2013
    • Adrian Prantl's avatar
      Cleanup and document MachineLocation. · d4c0dd47
      Adrian Prantl authored
      Clarify documentation and API to make the difference between register and
      register-indirect addressed locations more explicit. Put in a comment
      to point out that with the current implementation we cannot specify
      a register-indirect location with offset 0 (a breg 0 in DWARF).
      No functionality change intended.
      
      rdar://problem/13658587
      
      llvm-svn: 180641
      d4c0dd47
    • Jordan Rose's avatar
      [analyzer] An ObjC for-in loop runs 0 times if the collection is nil. · 9de821eb
      Jordan Rose authored
      In an Objective-C for-in loop "for (id element in collection) {}", the loop
      will run 0 times if the collection is nil. This is because the for-in loop
      is implemented using a protocol method that returns 0 when there are no
      elements to iterate, and messages to nil will result in a 0 return value.
      
      At some point we may want to actually model this message send, but for now
      we may as well get the nil case correct, and avoid the false positives that
      would come with this case.
      
      <rdar://problem/13744632>
      
      llvm-svn: 180639
      9de821eb
Loading