diff options
author | Ted Kremenek <kremenek@apple.com> | 2012-04-05 20:43:28 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2012-04-05 20:43:28 +0000 |
commit | b45d198b6f01fa06f1b12eee083603352ef5d604 (patch) | |
tree | 64685796b13933ecd14fce2f964f2da98d77e0b5 /clang/lib/StaticAnalyzer/Core/BugReporter.cpp | |
parent | aec8a82694b0a3d2650044474fb061c1696dc718 (diff) | |
download | bcm5719-llvm-b45d198b6f01fa06f1b12eee083603352ef5d604.tar.gz bcm5719-llvm-b45d198b6f01fa06f1b12eee083603352ef5d604.zip |
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>.
llvm-svn: 154121
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/BugReporter.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Core/BugReporter.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp b/clang/lib/StaticAnalyzer/Core/BugReporter.cpp index 2752e32e508..a2642120b70 100644 --- a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp +++ b/clang/lib/StaticAnalyzer/Core/BugReporter.cpp @@ -2028,13 +2028,6 @@ void BugReporter::FlushReport(BugReportEquivClass& EQ) { } void BugReporter::EmitBasicReport(const Decl *DeclWithIssue, - StringRef name, StringRef str, - PathDiagnosticLocation Loc, - SourceRange* RBeg, unsigned NumRanges) { - EmitBasicReport(DeclWithIssue, name, "", str, Loc, RBeg, NumRanges); -} - -void BugReporter::EmitBasicReport(const Decl *DeclWithIssue, StringRef name, StringRef category, StringRef str, PathDiagnosticLocation Loc, |