summaryrefslogtreecommitdiff
path: root/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-05-21 22:46:51 +0000
committerJustin Bogner <mail@justinbogner.com>2014-05-21 22:46:51 +0000
commit9fefd0267aa6e0cd72d5ec0733e2c044af0aca32 (patch)
tree20453865095802c138feceebe4c86be0ff06dce1 /lib/Frontend/CreateInvocationFromCommandLine.cpp
parentb717625aacdf2badd592f1e2e8714a343464e2a5 (diff)
downloadclang-9fefd0267aa6e0cd72d5ec0733e2c044af0aca32.tar.gz
VirtualFileSystem: Fix a few directory traversal bugs in VFSWriter
There are a couple of issues with writing VFS maps that are awkward to fix within the current mutually recursive approach. Instead, replace the algorithm with an iterative version that uses an explicit stack of directories. Includes tests for cases the old approach was tripping on. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209332 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions