aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/FileManager.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2020-10-27 16:24:47 -0400
committerLouis Dionne <ldionne@apple.com>2020-10-27 16:28:29 -0400
commit2089e762d00cbfdc8db55fd61f55e2f7efa46f67 (patch)
treebe20594ff540739c1ea3da9e7d7ea99e4ddea410 /clang/lib/Basic/FileManager.cpp
parent801aeb5d51f2b4162be7b8f975c8596b692314d7 (diff)
downloadllvm-2089e762d00cbfdc8db55fd61f55e2f7efa46f67.zip
llvm-2089e762d00cbfdc8db55fd61f55e2f7efa46f67.tar.gz
llvm-2089e762d00cbfdc8db55fd61f55e2f7efa46f67.tar.bz2
[libc++] Try to fix cross-loading of lit.local.cfg on Windows
On windows, the previous path replacement using forward slashes wouldn't work, and so we'd end up including the same file again. We would do that until we'd hit the recursion limit of the Python interpreter. Instead, use `os.path` to properly replace without assuming a specific path separator.
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions