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:
@@ -94,6 +94,7 @@ void HTMLDiagnostics::HandlePathDiagnostic(const PathDiagnostic* D) {
|
||||
return;
|
||||
}
|
||||
|
||||
const_cast<PathDiagnostic*>(D)->flattenLocations();
|
||||
BatchedDiags.push_back(D);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user