Also "flatten" PathLocations fed to the HTMLDiagnosticClient. We need a better

long-term strategy, but this should work for now.

llvm-svn: 68297
This commit is contained in:
Ted Kremenek 2009-04-02 05:17:38 +00:00
parent 12f510aa8f
commit a64bbc68fc
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@ void HTMLDiagnostics::HandlePathDiagnostic(const PathDiagnostic* D) {
return;
}
const_cast<PathDiagnostic*>(D)->flattenLocations();
BatchedDiags.push_back(D);
}