commit | 2ffcd18b845d4f855074ff7011c46e20616e08fd | [log] [tgz] |
---|---|---|
author | Anna Zaks <ganna@apple.com> | Sat Jun 22 00:23:26 2013 +0000 |
committer | Anna Zaks <ganna@apple.com> | Sat Jun 22 00:23:26 2013 +0000 |
tree | 75ef000b63a3a5d78b1ec0e62530fcbcf708fc8f | |
parent | 4c98b1f67cdf385e05a86d54201b319cf1f1c042 [diff] |
[analyzer] Use output form collections’ count to decide if ObjC for loop should be entered This fixes false positives by allowing us to know that a loop is always entered if the collection count method returns a positive value and vice versa. Addresses radar://14169391. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184618 91177308-0d34-0410-b5e6-96231b3b80d8