diff options
| author | Justin Bogner <mail@justinbogner.com> | 2014-06-20 03:28:46 +0000 |
|---|---|---|
| committer | Justin Bogner <mail@justinbogner.com> | 2014-06-20 03:28:46 +0000 |
| commit | 3f05ce1565771ec6daa895dcd7121bb48478536e (patch) | |
| tree | 77420900b3f58dd6dab7e1a47bb620fa6306c6d5 /lib/Basic/VirtualFileSystem.cpp | |
| parent | ff6e3ae78538bf28671496dca103e93d9b32ac80 (diff) | |
| download | clang-3f05ce1565771ec6daa895dcd7121bb48478536e.tar.gz clang-3f05ce1565771ec6daa895dcd7121bb48478536e.tar.bz2 clang-3f05ce1565771ec6daa895dcd7121bb48478536e.tar.xz | |
Frontend: Disentangle removePathTraversal from concatenating paths
This reimplements part of r211303 in a bit of a cleaner way. Doing so
allows us to use a proper absolute path when calling addFileMapping
rather than relying on a substring being one, which should fix the
tests on Windows.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211338 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions
