]> granicus.if.org Git - clang/commit
Require that all static analyzer issues have a category. As part of this change,
authorTed Kremenek <kremenek@apple.com>
Thu, 5 Apr 2012 20:43:28 +0000 (20:43 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 5 Apr 2012 20:43:28 +0000 (20:43 +0000)
commit6fd4505ad67a186da8cc26fdb493c93fe4937555
tree43c5d7ef5184a071f8bc3b2d86152131b473ab4f
parent9091389771f46e531c9c42012f8e0ab5c072e336
Require that all static analyzer issues have a category.  As part of this change,
consolidate some commonly used category strings into global references (more of this can be done, I just did a few).

Fixes <rdar://problem/11191537>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154121 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
include/clang/StaticAnalyzer/Checkers/CommonBugCategories.h [new file with mode: 0644]
include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
lib/StaticAnalyzer/Checkers/CMakeLists.txt
lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp
lib/StaticAnalyzer/Checkers/ClangSACheckers.h
lib/StaticAnalyzer/Checkers/CommonBugCategories.cpp [new file with mode: 0644]
lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp
lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp
lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp
lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp
lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp
lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp
lib/StaticAnalyzer/Core/BugReporter.cpp