diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-05-10 05:11:21 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-05-10 05:11:21 +0000 |
commit | 3978f7972dabb33fafc9f081e12f326103c988e0 (patch) | |
tree | 2d23fc511391d892c148f37716edcdedbc96f9ba /clang/lib/Analysis/BugReporter.cpp | |
parent | 1e0d6a59579aad3451e99c2c7d143f0bc03574ed (diff) | |
download | bcm5719-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.cpp | 2 |
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!"); |