forked from OSchip/llvm-project
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:
parent
12f510aa8f
commit
a64bbc68fc
|
@ -94,6 +94,7 @@ void HTMLDiagnostics::HandlePathDiagnostic(const PathDiagnostic* D) {
|
|||
return;
|
||||
}
|
||||
|
||||
const_cast<PathDiagnostic*>(D)->flattenLocations();
|
||||
BatchedDiags.push_back(D);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue