summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/c-index-pch.c
Commit message (Collapse)AuthorAgeFilesLines
* [test/Index] Update libclang tests to use libclang for creating PCH files.Argyrios Kyrtzidis2015-08-051-2/+2
| | | | | | | This is consistent and tests the primary configuration we want to test, libclang creating and consuming PCH files. llvm-svn: 244066
* Kill of the Decl::PCHLevel field entirely. We now only need to knowDouglas Gregor2011-09-101-5/+0
| | | | | | whether a Decl was deserialized from an AST file (any AST file). llvm-svn: 139438
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-2/+2
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Clean up c-index-test command line usage a bit by requiring a ↵Ted Kremenek2009-11-171-2/+2
| | | | | | "-test-load-tu" option when testing clang_loadTranslationUnit(). Running c-index-test without the correct arguments now also prints a useful summary of its correct usage. llvm-svn: 89115
* Move test/Index input files into a sub directory (not scanned as tests).Daniel Dunbar2009-11-081-1/+1
| | | | llvm-svn: 86431
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-3/+3
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* Keep track of whether declararions were loaded from a precompiledDouglas Gregor2009-10-161-4/+11
| | | | | | | | | | header or not via a new "PCHLevel" field in Decl. We currently use this information to help CIndex filter out declarations that came from a precompiled header (rather than from an AST file). Further down the road, it can be used to help implement multi-level precompiled headers. llvm-svn: 84267
* Add support for a chain of stat caches in the FileManager, rather thanDouglas Gregor2009-10-161-0/+7
only supporting a single stat cache. The immediate benefit of this change is that we can now generate a PCH/AST file when including another PCH file; in the future, the chain of stat caches will likely be useful with multiple levels of PCH files. llvm-svn: 84263
OpenPOWER on IntegriCloud