summaryrefslogtreecommitdiffstats
path: root/clang/test/Misc/Inputs
Commit message (Collapse)AuthorAgeFilesLines
* Fixed dia fileDávid Bolvanský2019-11-091-0/+0
|
* Move AST tests into their own test directory; NFC.Aaron Ballman2018-11-301-1/+0
| | | | | | This moves everything primarily testing the functionality of -ast-dump and -ast-print into their own directory, rather than leaving the tests spread around the testing directory. llvm-svn: 348017
* Add missing file from r306075.Richard Smith2017-06-231-0/+1
| | | | llvm-svn: 306077
* Serialized diagnostic severity levels should be stable.Jordan Rose2014-03-031-0/+0
| | | | | | | | | Serialized diagnostics were accidentally using the AST diagnostic level values rather than a dedicated stable enum, so the addition of "remark" broke the reading of existing serialized diagnostics files. I've added a .dia file generated from Xcode 5's Clang to make sure we don't break this in the future. llvm-svn: 202733
* Change the include stack of "instantiated from" notes to fall under the ↵Richard Trieu2011-05-261-0/+2
| | | | | | control of f/fno-diagnostics-show-note-include-stack flags. This should help with reducing diagnostic spew from macros instantiations. llvm-svn: 132143
* Flip the default for showing include stacks on notes to false. ThisChandler Carruth2011-03-271-0/+1
| | | | | | | | | | | | | required modifying a few tests that specifically use note include stacks to check the source manager's view of include stacks. I've simply added the flag to these tests for now, they may have to be more substantially changed if we decide to remove support for note include stacks altogether. Also, add a test for include stacks on notes that was supposed to go in with the previous commit. llvm-svn: 128390
* Implement -working-directory.Argyrios Kyrtzidis2010-11-031-0/+1
| | | | | | | | | | | | | | | | | | | 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. llvm-svn: 118203
* Extend -remap-file=from;to to permit mapping from a non-existentDouglas Gregor2009-12-022-0/+5
| | | | | | | | | | | | file. This is accomplished by introducing the notion of a "virtual" file into the file manager, which provides a FileEntry* for a named file whose size and modification time are known but which may not exist on disk. Added a cute little test that remaps both a .c file and a .h file it includes to alternative files. llvm-svn: 90329
* Introduce a new clang-cc option Douglas Gregor2009-12-021-0/+1
-remap-file=from;to which takes the file "from" and transparently replaces its contents with the contents of the file "to" from the source manager's perspective. This is the moral equivalent of cp from saved cp to from <call clang> cp saved from rm saved without all of the pesky file copying. llvm-svn: 90307
OpenPOWER on IntegriCloud