summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/BugReporter.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-05-10 05:11:21 +0000
committerTed Kremenek <kremenek@apple.com>2009-05-10 05:11:21 +0000
commit3978f7972dabb33fafc9f081e12f326103c988e0 (patch)
tree2d23fc511391d892c148f37716edcdedbc96f9ba /clang/lib/Analysis/BugReporter.cpp
parent1e0d6a59579aad3451e99c2c7d143f0bc03574ed (diff)
downloadbcm5719-llvm-3978f7972dabb33fafc9f081e12f326103c988e0.tar.gz
bcm5719-llvm-3978f7972dabb33fafc9f081e12f326103c988e0.zip
analyzer:
- Improve -autorelease diagnostics. - Improve VLA diagnostics. - Use "short description" for bug when outputting to TextDiagnostics llvm-svn: 71383
Diffstat (limited to 'clang/lib/Analysis/BugReporter.cpp')
-rw-r--r--clang/lib/Analysis/BugReporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/BugReporter.cpp b/clang/lib/Analysis/BugReporter.cpp
index 23de85709ad..db928237810 100644
--- a/clang/lib/Analysis/BugReporter.cpp
+++ b/clang/lib/Analysis/BugReporter.cpp
@@ -1576,7 +1576,7 @@ void BugReporter::FlushReport(BugReportEquivClass& EQ) {
Diagnostic& Diag = getDiagnostic();
FullSourceLoc L(R.getLocation(), getSourceManager());
unsigned ErrorDiag = Diag.getCustomDiagID(Diagnostic::Warning,
- R.getDescription().c_str());
+ R.getShortDescription().c_str());
switch (End-Beg) {
default: assert(0 && "Don't handle this many ranges yet!");
OpenPOWER on IntegriCloud