]> granicus.if.org Git - clang/commit
[VFS] Don't try to be heroic with '.' in paths.
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 12 Oct 2015 13:30:38 +0000 (13:30 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 12 Oct 2015 13:30:38 +0000 (13:30 +0000)
commit93eafedc4a91779a8444c88b57a1b4f6c61ca57d
tree530302e01c4bb036c39597cf9ca83fe060e5bfd4
parentcac047b0f4c40aa1aa0a4c045a348027124eef93
[VFS] Don't try to be heroic with '.' in paths.

Actually the only special path we have to handle is ./foo, the rest is
tricky to get right so do the same thing as the existing YAML vfs here.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@250036 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/VirtualFileSystem.cpp
unittests/Basic/VirtualFileSystemTest.cpp