diff options
| author | Ben Langmuir <blangmuir@apple.com> | 2014-02-27 23:27:54 +0000 |
|---|---|---|
| committer | Ben Langmuir <blangmuir@apple.com> | 2014-02-27 23:27:54 +0000 |
| commit | 2b1bc151cb3d274c5bd4bcae27986068f9e88942 (patch) | |
| tree | c2177f1de82abc4e3a8588c80da701a63b456ad0 /lib/Basic/FileManager.cpp | |
| parent | 9e229d2b0b2161ac4dd0ae832061915afd721b1d (diff) | |
| download | clang-2b1bc151cb3d274c5bd4bcae27986068f9e88942.tar.gz clang-2b1bc151cb3d274c5bd4bcae27986068f9e88942.tar.bz2 clang-2b1bc151cb3d274c5bd4bcae27986068f9e88942.tar.xz | |
Honour 'use-external-names' in FileManager
Pass through the externally-visible names that we got from the VFS down
to FileManager, and test that this is the name showing up in __FILE__,
diagnostics, and debug information.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202442 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/FileManager.cpp')
| -rw-r--r-- | lib/Basic/FileManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Basic/FileManager.cpp b/lib/Basic/FileManager.cpp index f7e566b977..5784f31843 100644 --- a/lib/Basic/FileManager.cpp +++ b/lib/Basic/FileManager.cpp @@ -282,7 +282,7 @@ const FileEntry *FileManager::getFile(StringRef Filename, bool openFile, } // Otherwise, we don't have this file yet, add it. - UFE.Name = InterndFileName; + UFE.Name = Data.Name; UFE.Size = Data.Size; UFE.ModTime = Data.ModTime; UFE.Dir = DirInfo; |
