clang-1/test/Misc/Inputs
Argyrios Kyrtzidis 389db16c63 Implement -working-directory.
When -working-directory is passed in command line, file paths are resolved relative to the specified directory.
This helps both when using libclang (where we can't require the user to actually change the working directory)
and to help reproduce test cases when the reproduction work comes along.

--FileSystemOptions is introduced which controls how file system operations are performed (currently it just contains
 the working directory value if set).
--FileSystemOptions are passed around to various interfaces that perform file operations.
--Opening & reading the content of files should be done only through FileManager. This is useful in general since
 file operations will be abstracted in the future for the reproduction mechanism.

FileSystemOptions is independent of FileManager so that we can have multiple translation units sharing the same
FileManager but with different FileSystemOptions.

Addresses rdar://8583824.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118203 91177308-0d34-0410-b5e6-96231b3b80d8
2010-11-03 22:45:23 +00:00
..
remapped-file Introduce a new clang-cc option 2009-12-02 08:08:39 +00:00
remapped-file-2 Extend -remap-file=from;to to permit mapping from a non-existent 2009-12-02 18:12:28 +00:00
remapped-file-3 Extend -remap-file=from;to to permit mapping from a non-existent 2009-12-02 18:12:28 +00:00
working-directory.h Implement -working-directory. 2010-11-03 22:45:23 +00:00