]> granicus.if.org Git - clang/commit
Tweak insecureAPI analyzer checks to have the ability to be individually disabled.
authorTed Kremenek <kremenek@apple.com>
Fri, 29 Jun 2012 20:44:58 +0000 (20:44 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 29 Jun 2012 20:44:58 +0000 (20:44 +0000)
commit4f50875f3bb5174fe669a7a08790d76e67f4a7cd
tree4cee1e610e91052d27c2b35887bbd15686f2f6b8
parent04ca19b97e85381920df7214f2c31b6833b314ce
Tweak insecureAPI analyzer checks to have the ability to be individually disabled.

The solution is a bit inefficient: it creates N checkers, one for each check, and
each check does a dispatch on the function name.  This is redundant, but we can fix
this once we have the proper ability to enable/disable subchecks.

Fixes <rdar://problem/11780180>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159459 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp