]> granicus.if.org Git - clang/commit
[VFS] Just normalize away .. and . in paths for in-memory file systems.
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 9 Oct 2015 13:03:22 +0000 (13:03 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 9 Oct 2015 13:03:22 +0000 (13:03 +0000)
commit034e609feabe73e07a23e4adfdcfd1cd92b8887d
tree8464512bdc2d8c813e09c662fd51b867bfbf9338
parenteda19d909988fe068c726b3a74dc37d07e8c6efd
[VFS] Just normalize away .. and . in paths for in-memory file systems.

This simplifies the code and gets us support for .. for free.

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