forked from OSchip/llvm-project
parent
d2c3ba6fbe
commit
dbb0c75977
|
@ -73,11 +73,8 @@ void arcmt::writeARCDiagsToPlist(const std::string &outPath,
|
||||||
" <key>files</key>\n"
|
" <key>files</key>\n"
|
||||||
" <array>\n";
|
" <array>\n";
|
||||||
|
|
||||||
for (SmallVectorImpl<FileID>::iterator I=Fids.begin(), E=Fids.end();
|
for (FileID FID : Fids)
|
||||||
I!=E; ++I) {
|
EmitString(o << " ", SM.getFileEntryForID(FID)->getName()) << '\n';
|
||||||
o << " ";
|
|
||||||
EmitString(o, SM.getFileEntryForID(*I)->getName()) << '\n';
|
|
||||||
}
|
|
||||||
|
|
||||||
o << " </array>\n"
|
o << " </array>\n"
|
||||||
" <key>diagnostics</key>\n"
|
" <key>diagnostics</key>\n"
|
||||||
|
|
|
@ -358,11 +358,8 @@ void PlistDiagnostics::FlushDiagnosticsImpl(
|
||||||
o << " <key>files</key>\n"
|
o << " <key>files</key>\n"
|
||||||
" <array>\n";
|
" <array>\n";
|
||||||
|
|
||||||
for (SmallVectorImpl<FileID>::iterator I=Fids.begin(), E=Fids.end();
|
for (FileID FID : Fids)
|
||||||
I!=E; ++I) {
|
EmitString(o << " ", SM->getFileEntryForID(FID)->getName()) << '\n';
|
||||||
o << " ";
|
|
||||||
EmitString(o, SM->getFileEntryForID(*I)->getName()) << '\n';
|
|
||||||
}
|
|
||||||
|
|
||||||
o << " </array>\n"
|
o << " </array>\n"
|
||||||
" <key>diagnostics</key>\n"
|
" <key>diagnostics</key>\n"
|
||||||
|
|
Loading…
Reference in New Issue