]> granicus.if.org Git - clang/commit
[analyzer] Replace bug category magic strings with shared constants.
authorJordan Rose <jordan_rose@apple.com>
Thu, 3 Oct 2013 16:57:20 +0000 (16:57 +0000)
committerJordan Rose <jordan_rose@apple.com>
Thu, 3 Oct 2013 16:57:20 +0000 (16:57 +0000)
commit4587cace907ed9a68256bdae506fbb8d93ac232c
tree4592c91055c3c8128ab897a6f59fe8bab307d9b3
parentd000b852022bcd4fc14029b48d2fa873f63e4032
[analyzer] Replace bug category magic strings with shared constants.

One small functionality change is to bring the sizeof-pointer checker in
line with the other checkers by making its category be "Logic error"
instead of just "Logic". There should be no other functionality changes.

Patch by Daniel Marjamäki!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191910 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/StaticAnalyzer/Checkers/CommonBugCategories.h
include/clang/StaticAnalyzer/Core/BugReporter/BugType.h
lib/StaticAnalyzer/Checkers/CStringChecker.cpp
lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
lib/StaticAnalyzer/Checkers/CommonBugCategories.cpp