[NFC] Doc and style fixes for #filePath implementation

This addresses some late-breaking review comments left by @hamishknight on apple/swift#29412.
This commit is contained in:
Brent Royal-Gordon
2020-03-12 18:12:09 -07:00
parent 000572d56c
commit b65a9c6db1
4 changed files with 9 additions and 6 deletions

View File

@@ -1964,7 +1964,7 @@ SourceFile::getInfoForUsedFilePaths() const {
getASTContext().SourceMgr.getLocForBufferStart(BufferID);
}
for (auto &vpath : VirtualFilenames) {
for (auto &vpath : VirtualFilePaths) {
result[vpath.Item].virtualFileLocs.insert(vpath.Loc);
}