[cfe-commits] r69824 - /cfe/trunk/lib/Analysis/BugReporter.cpp
Ted Kremenek
kremenek at apple.com
Wed Apr 22 13:51:59 PDT 2009
Author: kremenek
Date: Wed Apr 22 15:51:59 2009
New Revision: 69824
URL: http://llvm.org/viewvc/llvm-project?rev=69824&view=rev
Log:
BugReporter (extensive diagnostics): Use correct location for location contexts.
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=69824&r1=69823&r2=69824&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/BugReporter.cpp (original)
+++ cfe/trunk/lib/Analysis/BugReporter.cpp Wed Apr 22 15:51:59 2009
@@ -791,7 +791,7 @@
if (L.asLocation().isFileID()) {
// For contexts, we only one the first character as the range.
L = PathDiagnosticLocation(L.asLocation(), L.getManager());
- rawAddEdge(CLocs.back());
+ rawAddEdge(L);
}
CLocs.pop_back();
}
More information about the cfe-commits
mailing list