projects
/
clang
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96a6926
)
Also "flatten" PathLocations fed to the HTMLDiagnosticClient. We need a better
author
Ted Kremenek
<kremenek@apple.com>
Thu, 2 Apr 2009 05:17:38 +0000
(
05:17
+0000)
committer
Ted Kremenek
<kremenek@apple.com>
Thu, 2 Apr 2009 05:17:38 +0000
(
05:17
+0000)
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
lib/Frontend/HTMLDiagnostics.cpp
patch
|
blob
|
history
diff --git
a/lib/Frontend/HTMLDiagnostics.cpp
b/lib/Frontend/HTMLDiagnostics.cpp
index fbca057849ba4fd75e5551c59beb1a7b08dacf4c..83c2ac56a7585b8eab21849c52e19d2883040935 100644
(file)
--- a/
lib/Frontend/HTMLDiagnostics.cpp
+++ b/
lib/Frontend/HTMLDiagnostics.cpp
@@
-94,6
+94,7
@@
void HTMLDiagnostics::HandlePathDiagnostic(const PathDiagnostic* D) {
return;
}
+ const_cast<PathDiagnostic*>(D)->flattenLocations();
BatchedDiags.push_back(D);
}