From 6fd4505ad67a186da8cc26fdb493c93fe4937555 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Thu, 5 Apr 2012 20:43:28 +0000 Subject: 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 . git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154121 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/StaticAnalyzer/Core/BugReporter.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lib/StaticAnalyzer/Core/BugReporter.cpp') 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 @@ -2027,13 +2027,6 @@ void BugReporter::FlushReport(BugReportEquivClass& EQ) { PD->HandlePathDiagnostic(D.take()); } -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, -- cgit v1.2.3-70-g09d2