diff options
author | Reid Kleckner <rnk@google.com> | 2019-02-15 20:48:12 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2019-02-15 20:48:12 +0000 |
commit | e2bb3121fd4ab5b01f9ec1d2e3e9877db9c6a54c (patch) | |
tree | 0132fa0d4960a1dc2e15595490fe73622957df75 /clang/lib | |
parent | 63c300cfc1f77b8d4d13e543cb0f1d9185deb6f1 (diff) | |
download | bcm5719-llvm-e2bb3121fd4ab5b01f9ec1d2e3e9877db9c6a54c.tar.gz bcm5719-llvm-e2bb3121fd4ab5b01f9ec1d2e3e9877db9c6a54c.zip |
Revert r354075 "[clang][FileManager] fillRealPathName even if we aren't opening the file"
The new test doesn't pass on Windows.
llvm-svn: 354169
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Basic/FileManager.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/Basic/FileManager.cpp b/clang/lib/Basic/FileManager.cpp index 41026763377..75caff95559 100644 --- a/clang/lib/Basic/FileManager.cpp +++ b/clang/lib/Basic/FileManager.cpp @@ -267,9 +267,6 @@ const FileEntry *FileManager::getFile(StringRef Filename, bool openFile, if (UFE.File) { if (auto PathName = UFE.File->getName()) fillRealPathName(&UFE, *PathName); - } else if (!openFile) { - // We should still fill the path even if we aren't opening the file. - fillRealPathName(&UFE, InterndFileName); } return &UFE; } |