summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/VirtualFileSystem.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Pass through context for DiagHandler in VFSBen Langmuir2014-02-241-2/+5
| | | | | | | This allows the unit tests to not use global state when checking diagnostics. llvm-svn: 202072
* Silence a warning from r201905Ben Langmuir2014-02-221-0/+1
| | | | | | | Avoid a warning about reaching the end of a non-void function after a covered switch. llvm-svn: 201919
* Add a VFSFromYAML class and a parser to create itBen Langmuir2014-02-211-4/+576
| | | | | | | | | | | | | | | Provides a way to create a virtual file system using a YAML file that supports mapping a file to a path on an 'external' file system. The external file system will typically be the 'real' file system, but for testing it can be changed. A future patch will add a clang option to allow the user to specify such a file and overlay it, but for now this code is only exercised by the unit tests. Differential Revision: http://llvm-reviews.chandlerc.com/D2835 llvm-svn: 201905
* Recommit virtual file systemBen Langmuir2014-02-201-0/+193
| | | | | | | | | | | Previously reverted in r201755 due to causing an assertion failure. I've removed the offending assertion, and taught the CompilerInstance to create a default virtual file system inside createFileManager. In the future, we should be able to reach into the CompilerInvocation to customize this behaviour without breaking clients that don't care. llvm-svn: 201818
* Reverting the virtual file system implementation, because it triggers an ↵Juergen Ributzka2014-02-201-193/+0
| | | | | | | | | | assertion in our internal build bots. This reverts commits 201618, 201635, 201636, 201639, 201685, 201691, and 201696. llvm-svn: 201755
* Reduce verbosity in the virtual file system using LLVM.hBen Langmuir2014-02-191-8/+6
| | | | | | No functional change llvm-svn: 201696
* Remove typo from r201618Ben Langmuir2014-02-191-1/+1
| | | | | | Fixes PR18895 llvm-svn: 201685
* Add an OverlayFileSystem classBen Langmuir2014-02-191-0/+33
| | | | | | | Provides a way to merge multiple vfs::FileSystem objects into a single filesystem. llvm-svn: 201635
* Initial implementation of virtual file systemBen Langmuir2014-02-191-0/+162
This adds the minimum virtual file system support to start migrating FileManager onto the VFS. Originally discussed here: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2014-February/035188.html Differential Revision: http://llvm-reviews.chandlerc.com/D2745 llvm-svn: 201618
OpenPOWER on IntegriCloud