Go to file
Jordan Rose 9de821ebfd [analyzer] An ObjC for-in loop runs 0 times if the collection is nil.
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
2013-04-26 21:43:01 +00:00
clang [analyzer] An ObjC for-in loop runs 0 times if the collection is nil. 2013-04-26 21:43:01 +00:00
clang-tools-extra The option is spelled -use-auto, not -loop-convert. 2013-04-22 14:39:46 +00:00
compiler-rt Revert r180599 "[sanitizer] Clear LD_PRELOAD when forking an external symbolizer." 2013-04-26 13:01:40 +00:00
debuginfo-tests Remove IR scenario tests. 2013-03-15 20:52:10 +00:00
libclc Update the copyright coredits -- Happy new year 2013! 2013-01-01 10:00:19 +00:00
libcxx Fix typos. 2013-04-26 09:40:18 +00:00
libcxxabi Add capability to demangle invocation functions for ObjC blocks. 2013-04-10 19:44:03 +00:00
lld [Core] Allow weak symbols in shared library when linking. 2013-04-24 19:00:26 +00:00
lldb skip randomly failing test to avoid buildbot noise 2013-04-26 21:39:11 +00:00
llvm Micro-optimization 2013-04-26 21:15:08 +00:00
polly IndependentBlocks: We can only reconstruct PHI nodes that are within the ScoP 2013-04-17 07:20:36 +00:00