aboutsummaryrefslogtreecommitdiff
path: root/clang/test/PCH/badpch.c
AgeCommit message (Collapse)AuthorFilesLines
2013-07-28Avoid crashing if a directory has no pch files.Rafael Espindola1-1/+1
Should fix some of the bots that have assertions disabled. llvm-svn: 187329
2013-07-05Use the new --crash option in commands that are expected to crash.Rafael Espindola1-1/+1
llvm-svn: 185679
2013-07-04Add 'not' to commands that are expected to fail.Rafael Espindola1-2/+2
This is at least good documentation, but also opens the possibility of using pipefail. llvm-svn: 185652
2012-10-25Move the input files for test/PCH/badpch.c under test/PCH/Inputs/.Kaelyn Uhrain1-2/+2
llvm-svn: 166711
2012-10-23If the precompiled header named by "-include" is actually a directory,Douglas Gregor1-1/+1
check each of the files within that directory to determine if any of them is an AST file that matches the language and target options. If so, the first matching AST file is loaded. This fixes a longstanding discrepency with GCC's precompiled header implementation. llvm-svn: 166469
2012-06-20Add the PCH file name to the message about not being able to read the PCH.Kaelyn Uhrain1-0/+13
Also add a couple of unit tests to check the invalid-PCH error messages to satisfy PR4568 and for the assertion (introduced in r149918 and fixed in r158769) that would cause clang to crash when given an empty PCH. llvm-svn: 158772