llvm-project/clang/lib/Basic
Justin Bogner 44fa45034b 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
2014-05-21 22:46:51 +00:00
..
Attributes.cpp Post-commit review coding style change: renaming HasAttribute to hasAttribute. No functional changes. 2014-03-31 15:26:40 +00:00
Builtins.cpp [C++11] Use 'nullptr'. 2014-05-08 06:41:40 +00:00
CMakeLists.txt Reapply r207477 and r207479 without cyclic dependency 2014-04-29 16:25:26 +00:00
CharInfo.cpp CharInfo: Add missing "using namespace clang::charinfo" in .cpp file. 2013-02-08 22:37:49 +00:00
Diagnostic.cpp [C++11] Use 'nullptr'. 2014-05-08 06:41:40 +00:00
DiagnosticIDs.cpp [C++11] Use 'nullptr'. 2014-05-08 06:41:40 +00:00
FileManager.cpp [C++11] Use 'nullptr'. 2014-05-08 06:41:40 +00:00
FileSystemStatCache.cpp [C++11] Use 'nullptr'. 2014-05-08 06:41:40 +00:00
IdentifierTable.cpp Decouple ExprCXX.h and DeclCXX.h and clean up includes a bit. 2014-05-10 16:31:55 +00:00
LangOptions.cpp Add a *San + modules FIXME. 2013-02-07 01:09:29 +00:00
Makefile Use tabs instead of spaces. 2012-03-02 16:06:37 +00:00
Module.cpp [C++11] Use 'nullptr'. 2014-05-08 06:41:40 +00:00
ObjCRuntime.cpp Add a define for the ObjFW runtime ABI version. 2013-09-16 16:31:49 +00:00
OpenMPKinds.cpp [OPENMP] Removed unnecessary enums from OpenMP constructs 2014-05-12 04:23:46 +00:00
OperatorPrecedence.cpp Replace C++0x in a comment with C++11 2013-07-14 17:04:56 +00:00
SourceLocation.cpp Only mark dump() function definitions 'used' in debug builds 2014-01-04 13:47:14 +00:00
SourceManager.cpp [C++11] Use 'nullptr'. 2014-05-08 06:41:40 +00:00
TargetInfo.cpp [C++11] Use 'nullptr'. 2014-05-08 06:41:40 +00:00
Targets.cpp Add __ARM_DWARF_EH__ to signify the use of Itanium ABI for unwind 2014-05-13 18:58:36 +00:00
TokenKinds.cpp [C++11] Use 'nullptr'. 2014-05-08 06:41:40 +00:00
Version.cpp Remove trailing spaces 2014-01-14 10:25:26 +00:00
VersionTuple.cpp Include llvm::Optional in clang/Basic/LLVM.h 2013-02-20 22:23:23 +00:00
VirtualFileSystem.cpp VirtualFileSystem: Fix a few directory traversal bugs in VFSWriter 2014-05-21 22:46:51 +00:00
Warnings.cpp Reapply r207477 and r207479 without cyclic dependency 2014-04-29 16:25:26 +00:00