]> granicus.if.org Git - clang/commit
Frontend: Disentangle removePathTraversal from concatenating paths
authorJustin Bogner <mail@justinbogner.com>
Fri, 20 Jun 2014 03:28:46 +0000 (03:28 +0000)
committerJustin Bogner <mail@justinbogner.com>
Fri, 20 Jun 2014 03:28:46 +0000 (03:28 +0000)
commit3f05ce1565771ec6daa895dcd7121bb48478536e
tree77420900b3f58dd6dab7e1a47bb620fa6306c6d5
parentff6e3ae78538bf28671496dca103e93d9b32ac80
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
lib/Frontend/ModuleDependencyCollector.cpp