[analyzer] Replace bug category magic strings with shared constants, take 2.
Re-commit r191910 (reverted in r191936) with layering violation fixed, by moving the bug categories to StaticAnalyzerCore instead of ...Checkers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191937 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/StaticAnalyzer/Core/BugReporter/BugType.h 7 additions, 4 deletionsinclude/clang/StaticAnalyzer/Core/BugReporter/BugType.h
- include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h 6 additions, 5 deletions...ang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h
- lib/StaticAnalyzer/Checkers/CMakeLists.txt 0 additions, 1 deletionlib/StaticAnalyzer/Checkers/CMakeLists.txt
- lib/StaticAnalyzer/Checkers/CStringChecker.cpp 4 additions, 4 deletionslib/StaticAnalyzer/Checkers/CStringChecker.cpp
- lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp 1 addition, 1 deletionlib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
- lib/StaticAnalyzer/Checkers/ClangSACheckers.h 1 addition, 1 deletionlib/StaticAnalyzer/Checkers/ClangSACheckers.h
- lib/StaticAnalyzer/Core/BugReporter.cpp 1 addition, 1 deletionlib/StaticAnalyzer/Core/BugReporter.cpp
- lib/StaticAnalyzer/Core/CMakeLists.txt 1 addition, 0 deletionslib/StaticAnalyzer/Core/CMakeLists.txt
- lib/StaticAnalyzer/Core/CommonBugCategories.cpp 6 additions, 4 deletionslib/StaticAnalyzer/Core/CommonBugCategories.cpp
Loading
Please register or sign in to comment