[cfe-commits] r49139 - /cfe/trunk/lib/Analysis/BugReporter.cpp
Ted Kremenek
kremenek at apple.com
Wed Apr 2 22:23:19 PDT 2008
Author: kremenek
Date: Thu Apr 3 00:23:19 2008
New Revision: 49139
URL: http://llvm.org/viewvc/llvm-project?rev=49139&view=rev
Log:
Add back bug name to PathDiagnostic.
Modified:
cfe/trunk/lib/Analysis/BugReporter.cpp
Modified: cfe/trunk/lib/Analysis/BugReporter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/BugReporter.cpp?rev=49139&r1=49138&r2=49139&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/BugReporter.cpp (original)
+++ cfe/trunk/lib/Analysis/BugReporter.cpp Thu Apr 3 00:23:19 2008
@@ -64,7 +64,6 @@
const BugDescription& B,
ExplodedGraph<GRExprEngine>& G,
ExplodedNode<ValueState>* N) {
-
PD.push_back(B.getEndPath(Ctx, N));
SourceManager& SMgr = Ctx.getSourceManager();
@@ -248,7 +247,7 @@
if (IsCached(N))
return;
- PathDiagnostic D;
+ PathDiagnostic D(B.getName());
GeneratePathDiagnostic(D, Ctx, B, G, N);
PDC->HandlePathDiagnostic(D);
}
More information about the cfe-commits
mailing list