summaryrefslogtreecommitdiffstats
path: root/clang/test/VFS/implicit-include.c
diff options
context:
space:
mode:
authorBen Langmuir <blangmuir@apple.com>2015-12-10 23:41:39 +0000
committerBen Langmuir <blangmuir@apple.com>2015-12-10 23:41:39 +0000
commitf13302e63ff0c858ecac7cc30ea2201c523a43ba (patch)
tree368c35038f8ff52ee23b47dbcfc79dcae74cc226 /clang/test/VFS/implicit-include.c
parent83760378617dfa9670ce9439e9bfdcf2a5c81b90 (diff)
downloadbcm5719-llvm-f13302e63ff0c858ecac7cc30ea2201c523a43ba.tar.gz
bcm5719-llvm-f13302e63ff0c858ecac7cc30ea2201c523a43ba.zip
[VFS] Fix status() of opened redirected file
Make RedirectedFileSystem::openFilForRead(path)->status() the same as RedirectedFileSystem::status(path). Previously we would just get the status of the underlying real file, which would not have the IsVFSMapped bit set. This fixes rebuilding a module that has an include that is relative to the includer where we will lookup the real path of that file before we lookup the VFS location. rdar://problem/23640339 llvm-svn: 255312
Diffstat (limited to 'clang/test/VFS/implicit-include.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud