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 | 6fd4505ad67a186da8cc26fdb493c93fe4937555 (patch) | |
tree | 43c5d7ef5184a071f8bc3b2d86152131b473ab4f /lib/StaticAnalyzer/Core/BugReporter.cpp | |
parent | 9091389771f46e531c9c42012f8e0ab5c072e336 (diff) |
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>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154121 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/BugReporter.cpp')
-rw-r--r-- | lib/StaticAnalyzer/Core/BugReporter.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/StaticAnalyzer/Core/BugReporter.cpp b/lib/StaticAnalyzer/Core/BugReporter.cpp index 2752e32e50..a2642120b7 100644 --- a/lib/StaticAnalyzer/Core/BugReporter.cpp +++ b/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, |