diff options
author | Ben Langmuir <blangmuir@apple.com> | 2015-12-10 23:41:39 +0000 |
---|---|---|
committer | Ben Langmuir <blangmuir@apple.com> | 2015-12-10 23:41:39 +0000 |
commit | f13302e63ff0c858ecac7cc30ea2201c523a43ba (patch) | |
tree | 368c35038f8ff52ee23b47dbcfc79dcae74cc226 /clang/test/VFS/implicit-include.c | |
parent | 83760378617dfa9670ce9439e9bfdcf2a5c81b90 (diff) | |
download | bcm5719-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