aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorBen Langmuir <blangmuir@apple.com>2024-03-15 09:01:41 -0700
committerGitHub <noreply@github.com>2024-03-15 09:01:41 -0700
commit5a8a7ee9d12d7cd3680c7bc14a4750bd44d99c56 (patch)
treea09d36f67ec5df9cf40ab3ddaa514686c6bb9950 /clang/lib/Frontend/CompilerInvocation.cpp
parent0ed7a5a9a1d4297e30c7992379ff292cd1aa3828 (diff)
downloadllvm-5a8a7ee9d12d7cd3680c7bc14a4750bd44d99c56.zip
llvm-5a8a7ee9d12d7cd3680c7bc14a4750bd44d99c56.tar.gz
llvm-5a8a7ee9d12d7cd3680c7bc14a4750bd44d99c56.tar.bz2
[llvm][vfs] Preserve paths for fallback/fallthrough in RedirectingFileSystem (#85307)
When we lookup in the external filesystem, do not remove . and .. components from the original path. For .. this is a correctness issue in the presence of symlinks, while for . it is simply better practice to preserve the original path to better match the behaviour of other filesystems. The only modification we need is to apply the working directory, since it could differ from the external filesystem. rdar://123655660
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions