summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
diff options
context:
space:
mode:
authorKristof Umann <dkszelethus@gmail.com>2018-11-12 17:49:51 +0000
committerKristof Umann <dkszelethus@gmail.com>2018-11-12 17:49:51 +0000
commit35fc356fec4ae76dd9d083bf1dd708c08f453394 (patch)
treef3b9eca894ef1ab063b446017e7f6400d40da7e1 /clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
parentb4ade533200fcf3a4e38dfa2aae822d843c0bcaa (diff)
downloadbcm5719-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.cpp2
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
OpenPOWER on IntegriCloud