diff options
author | Kristof Umann <dkszelethus@gmail.com> | 2018-11-12 17:49:51 +0000 |
---|---|---|
committer | Kristof Umann <dkszelethus@gmail.com> | 2018-11-12 17:49:51 +0000 |
commit | 35fc356fec4ae76dd9d083bf1dd708c08f453394 (patch) | |
tree | f3b9eca894ef1ab063b446017e7f6400d40da7e1 /clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp | |
parent | b4ade533200fcf3a4e38dfa2aae822d843c0bcaa (diff) | |
download | bcm5719-llvm-35fc356fec4ae76dd9d083bf1dd708c08f453394.tar.gz bcm5719-llvm-35fc356fec4ae76dd9d083bf1dd708c08f453394.zip |
[analyzer] Drastically simplify the tblgen files used for checkers
Interestingly, only about the quarter of the emitter file is used, the DescFile
entry hasn't ever been touched [1], and the entire concept of groups is a
mystery, so I removed them.
[1] http://lists.llvm.org/pipermail/cfe-dev/2018-October/059664.html
Differential Revision: https://reviews.llvm.org/D53995
llvm-svn: 346680
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp b/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp index 448faa4a904..a6977d23c26 100644 --- a/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp +++ b/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp @@ -237,7 +237,7 @@ static json::Object createResult(const PathDiagnostic &Diag, static StringRef getRuleDescription(StringRef CheckName) { return llvm::StringSwitch<StringRef>(CheckName) #define GET_CHECKERS -#define CHECKER(FULLNAME, CLASS, CXXFILE, HELPTEXT, GROUPINDEX, HIDDEN) \ +#define CHECKER(FULLNAME, CLASS, HELPTEXT) \ .Case(FULLNAME, HELPTEXT) #include "clang/StaticAnalyzer/Checkers/Checkers.inc" #undef CHECKER |