[PATCH] D27810: FileManager: mark virtual file entries as valid entries
Erik Verbruggen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 17 05:24:23 PST 2017
erikjv updated this revision to Diff 88874.
erikjv retitled this revision from "Normalize all filenames before searching FileManager caches" to "FileManager: mark virtual file entries as valid entries".
erikjv edited the summary of this revision.
https://reviews.llvm.org/D27810
Files:
lib/Basic/FileManager.cpp
Index: lib/Basic/FileManager.cpp
===================================================================
--- lib/Basic/FileManager.cpp
+++ lib/Basic/FileManager.cpp
@@ -386,6 +386,7 @@
UFE->ModTime = ModificationTime;
UFE->Dir = DirInfo;
UFE->UID = NextFileUID++;
+ UFE->IsValid = true;
UFE->File.reset();
return UFE;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27810.88874.patch
Type: text/x-patch
Size: 341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170217/4cda2fb0/attachment.bin>
More information about the cfe-commits
mailing list