aboutsummaryrefslogtreecommitdiff
path: root/clang/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
commit44fa45034bb6cc1896b812e2e0b6256ac70b71b9 (patch)
tree584c6ff1c507a6151fa5c3d6d57443b05f778d7a /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parent6a57fd8b47dc15c4df02f8acb7cdb2034b3f1527 (diff)
downloadllvm-44fa45034bb6cc1896b812e2e0b6256ac70b71b9.zip
llvm-44fa45034bb6cc1896b812e2e0b6256ac70b71b9.tar.gz
llvm-44fa45034bb6cc1896b812e2e0b6256ac70b71b9.tar.bz2
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. llvm-svn: 209332
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions