commit | 25bd1a9fc1a75380a92860159361ad0983ccad98 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Thu Apr 02 05:17:38 2009 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Thu Apr 02 05:17:38 2009 +0000 |
tree | 5e99f3be108ea21ddc811bde2261049eee559337 | |
parent | 899ae67dc06ebe16da389d33b837962a85c6db04 [diff] [blame] |
Also "flatten" PathLocations fed to the HTMLDiagnosticClient. We need a better long-term strategy, but this should work for now. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68297 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Frontend/HTMLDiagnostics.cpp b/lib/Frontend/HTMLDiagnostics.cpp index fbca057..83c2ac5 100644 --- a/lib/Frontend/HTMLDiagnostics.cpp +++ b/lib/Frontend/HTMLDiagnostics.cpp
@@ -94,6 +94,7 @@ return; } + const_cast<PathDiagnostic*>(D)->flattenLocations(); BatchedDiags.push_back(D); }