summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/BugReporter.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-01-27 01:53:39 +0000
committerTed Kremenek <kremenek@apple.com>2009-01-27 01:53:39 +0000
commita3f462e49aed3ef3c41a687df768de45eb079047 (patch)
tree64c22224fe1fb0c59e0b27dbade1a4d2cf8b577c /clang/lib/Analysis/BugReporter.cpp
parent0f4aa3cbb1a7cc2480fc8159b3cd46df7fcc2b16 (diff)
downloadbcm5719-llvm-a3f462e49aed3ef3c41a687df768de45eb079047.tar.gz
bcm5719-llvm-a3f462e49aed3ef3c41a687df768de45eb079047.zip
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 <rdar://problem/6265970>) llvm-svn: 63084
Diffstat (limited to 'clang/lib/Analysis/BugReporter.cpp')
-rw-r--r--clang/lib/Analysis/BugReporter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Analysis/BugReporter.cpp b/clang/lib/Analysis/BugReporter.cpp
index b08f5cb793e..f59f89a1a82 100644
--- a/clang/lib/Analysis/BugReporter.cpp
+++ b/clang/lib/Analysis/BugReporter.cpp
@@ -727,6 +727,7 @@ void BugReporter::EmitWarning(BugReport& R) {
return;
llvm::OwningPtr<PathDiagnostic> D(new PathDiagnostic(R.getName(),
+ R.getDescription(),
R.getCategory()));
GeneratePathDiagnostic(*D.get(), R);
OpenPOWER on IntegriCloud