[cfe-commits] r68297 - /cfe/trunk/lib/Frontend/HTMLDiagnostics.cpp
Ted Kremenek
kremenek at apple.com
Wed Apr 1 22:17:38 PDT 2009
Author: kremenek
Date: Thu Apr 2 00:17:38 2009
New Revision: 68297
URL: http://llvm.org/viewvc/llvm-project?rev=68297&view=rev
Log:
Also "flatten" PathLocations fed to the HTMLDiagnosticClient. We need a better
long-term strategy, but this should work for now.
Modified:
cfe/trunk/lib/Frontend/HTMLDiagnostics.cpp
Modified: cfe/trunk/lib/Frontend/HTMLDiagnostics.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/HTMLDiagnostics.cpp?rev=68297&r1=68296&r2=68297&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/HTMLDiagnostics.cpp (original)
+++ cfe/trunk/lib/Frontend/HTMLDiagnostics.cpp Thu Apr 2 00:17:38 2009
@@ -94,6 +94,7 @@
return;
}
+ const_cast<PathDiagnostic*>(D)->flattenLocations();
BatchedDiags.push_back(D);
}
More information about the cfe-commits
mailing list