]> granicus.if.org Git - clang/commit
Honour 'use-external-names' in FileManager
authorBen Langmuir <blangmuir@apple.com>
Thu, 27 Feb 2014 23:27:54 +0000 (23:27 +0000)
committerBen Langmuir <blangmuir@apple.com>
Thu, 27 Feb 2014 23:27:54 +0000 (23:27 +0000)
commit2b1bc151cb3d274c5bd4bcae27986068f9e88942
treec2177f1de82abc4e3a8588c80da701a63b456ad0
parent9e229d2b0b2161ac4dd0ae832061915afd721b1d
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
include/clang/Basic/FileManager.h
include/clang/Basic/FileSystemStatCache.h
include/clang/Basic/VirtualFileSystem.h
lib/Basic/FileManager.cpp
lib/Basic/FileSystemStatCache.cpp
lib/Basic/VirtualFileSystem.cpp
lib/Lex/PTHLexer.cpp
test/VFS/Inputs/external-names.h [new file with mode: 0644]
test/VFS/Inputs/use-external-names.yaml [new file with mode: 0644]
test/VFS/external-names.c [new file with mode: 0644]
unittests/Basic/FileManagerTest.cpp