]> granicus.if.org Git - clang/commit
[analyzer] When checking Foundation method calls, match the selectors exactly.
authorJordan Rose <jordan_rose@apple.com>
Wed, 9 Apr 2014 01:39:22 +0000 (01:39 +0000)
committerJordan Rose <jordan_rose@apple.com>
Wed, 9 Apr 2014 01:39:22 +0000 (01:39 +0000)
commita5a035243b641e331bf22360a31fa1539bb2d61f
treee2e03956364e21469e41f3c4016c1b5f52bbadd4
parent2c149c186efe06952e4d94c1b344ca6b2a7d8276
[analyzer] When checking Foundation method calls, match the selectors exactly.

This also includes some infrastructure to make it easier to build multi-argument
selectors, rather than trying to use string matching on each piece. There's a bit
more setup code, but less cost at runtime.

PR18908

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205827 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
lib/StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp
lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
lib/StaticAnalyzer/Checkers/SelectorExtras.h [new file with mode: 0644]
test/Analysis/NSContainers.m