clang-1/test/PCH
Daniel Dunbar 21a8bed504 Add a pretty horrible hack to prevent clang from crashing with inconsistent PCH
files.
 - The issue is that PCH uses a stat cache, which may reference files which have
   been deleted or moved. In such cases ContentCache::getBuffer was returning 0
   but most clients are incapable of dealing with this (i.e., they don't).

   For the time being, resolve this issue by just making up some invalid file
   contents and. Eventually we should detect that we are in an inconsistent
   situation and error out with a nice message that the PCH is out of date.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90699 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-06 05:43:36 +00:00
..
libroot/usr/include Introduce the notion of "Relocatable" precompiled headers, which are built 2009-07-07 00:12:59 +00:00
asm.c Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
asm.h PCH support for inline assembly statements. 2009-04-17 20:57:14 +00:00
attrs.c Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
attrs.h PCH support for declaration attributes 2009-04-15 21:30:51 +00:00
blocks.c Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
blocks.h PCH support for blocks 2009-04-17 19:21:43 +00:00
builtins.c Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
builtins.h Lazy deserialization of the declaration chains associated with 2009-04-21 22:25:48 +00:00
cxx-method.cpp Fixes for a couple of things: 2009-07-14 03:18:53 +00:00
enum.c Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
enum.h Add PCH support for ImplicitCastExprs. This is the first expression 2009-04-14 23:32:43 +00:00
exprs.c Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
exprs.h PCH support for CompoundLiteralExpr. This is the last C expression 2009-04-16 02:33:48 +00:00
ext_vector.c Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
ext_vector.h Add Sema::ExtVectorDecls and Sema::ObjCCategoryImpls to the PCH file. Since these vectors are very, very rarely used and, when used in headers, and even when used are relatively small, we load them eagerly. 2009-04-27 20:06:05 +00:00
external-defs.c Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
external-defs.h Clean up and de-XFAIL-ify PCH test for external definitions 2009-04-22 22:09:39 +00:00
functions.c Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
functions.h PCH support for functions and their parameters. 2009-04-13 22:18:37 +00:00
fuzzy-pch.c Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
fuzzy-pch.h Allow some differences between the predefines buffer used to build a 2009-04-28 18:58:38 +00:00
inconsistent-pch.c Add a pretty horrible hack to prevent clang from crashing with inconsistent PCH 2009-12-06 05:43:36 +00:00
line-directive.c Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
line-directive.h Include the SourceManager's line table in the PCH file. We can now 2009-04-13 16:31:14 +00:00
method_pool.h Prep for new warning. 2009-07-21 22:54:02 +00:00
method_pool.m Use '-x' 'foo' instead of '-x=foo'. 2009-11-29 09:32:31 +00:00
multiple_decls.c Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
multiple_decls.h Fix two embarrassing PCH bugs: 2009-04-17 21:46:47 +00:00
nonvisible-external-defs.c Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
nonvisible-external-defs.h Support locally-declared external declarations in PCH files 2009-04-22 22:18:58 +00:00
objc_exprs.h Add PCH read/write support for Objective-C Selectors. 2009-04-23 10:39:46 +00:00
objc_exprs.m Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
objc_import.h Add PCH support for #import. 2009-04-24 20:03:17 +00:00
objc_import.m Use '-x' 'foo' instead of '-x=foo'. 2009-11-29 09:32:31 +00:00
objc_methods.h More PushOnScopeChain() FIXME's. 2009-04-23 16:00:56 +00:00
objc_methods.m Use '-x' 'foo' instead of '-x=foo'. 2009-11-29 09:32:31 +00:00
objc_property.h PCH support for Objective-C property declarations (UNTESTED!) 2009-04-22 23:20:34 +00:00
objc_property.m Use '-x' 'foo' instead of '-x=foo'. 2009-11-29 09:32:31 +00:00
pr4489.c Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
preprocess.c Fix PCH/preprocess test to be more useful, and unbreak -E mode with implicit 2009-11-12 01:36:20 +00:00
preprocess.h Make precompiled headers work with -E. When we're only preprocessing 2009-05-12 01:31:05 +00:00
reloc.c Normalize options to use '-FOO' instead of '--FOO'. 2009-11-29 09:33:10 +00:00
source-manager-stack.c Add test case for PR5662. 2009-12-01 21:57:39 +00:00
stmts.c Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
stmts.h Test PCH support for VLAs 2009-04-22 00:21:21 +00:00
struct.c Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
struct.h PCH support for a few very, very simple kinds of expressions. Hook up 2009-04-14 21:18:50 +00:00
tentative-defs.c Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
tentative-defs.h Support tentative definitions in precompiled headers. This isn't likely 2009-04-22 22:02:47 +00:00
types.c Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
types.h Test PCH support for VLAs 2009-04-22 00:21:21 +00:00
va_arg.c Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
va_arg.h PCH tests for va_arg expressions. Verified that the blocks test does create a BlockDeclRefExpr 2009-04-17 20:06:59 +00:00
variables.c Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
variables.h PCH support for a few very, very simple kinds of expressions. Hook up 2009-04-14 21:18:50 +00:00