summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/preprocess.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove bad test.Sean Silva2015-07-301-8/+0
| | | | | | | | | | | | | We currently don't canonicalize paths in the preprocessed files. But we do when writing to PCH. This causes a discrepancy on Windows with the test below. This test fails even on unix if you change the test to use `%S//preprocess.h`. I am led to conclude that the invariant that this test was intending to test has not been upheld for a while (and may never have been). llvm-svn: 243602
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-3/+3
| | | | | | | | | - 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
* Fix PCH/preprocess test to be more useful, and unbreak -E mode with implicitDaniel Dunbar2009-11-121-3/+6
| | | | | | PCH, which I broke. llvm-svn: 86921
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-1/+1
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* Make precompiled headers work with -E. When we're only preprocessingDouglas Gregor2009-05-121-0/+5
(with -E), we turn the PCH include into an implicit include of the file from which the PCH file was generated. llvm-svn: 71534
OpenPOWER on IntegriCloud