From a26ddabc0eb8cf8ea4de1878f84d3b920fc2349f Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 27 Jan 2009 01:53:39 +0000 Subject: PathDiagnostics: - Add the distinction between the 'bug type' and the 'bug description' HTMLDiagnostics: - Output the bug type field as HTML comments scan-build: - Use the bug type field instead of the bug description for the HTML table. - Radar filing now automatically picks up the bug description in the title (addresses ) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63084 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/BugReporter.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/Analysis/BugReporter.cpp') diff --git a/lib/Analysis/BugReporter.cpp b/lib/Analysis/BugReporter.cpp index b08f5cb793..f59f89a1a8 100644 --- a/lib/Analysis/BugReporter.cpp +++ b/lib/Analysis/BugReporter.cpp @@ -727,6 +727,7 @@ void BugReporter::EmitWarning(BugReport& R) { return; llvm::OwningPtr D(new PathDiagnostic(R.getName(), + R.getDescription(), R.getCategory())); GeneratePathDiagnostic(*D.get(), R); -- cgit v1.2.3-18-g5258