summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/external-defs.h
Commit message (Collapse)AuthorAgeFilesLines
* Clean up and de-XFAIL-ify PCH test for external definitionsDouglas Gregor2009-04-221-4/+0
| | | | llvm-svn: 69831
* Explictly track tentative definitions within Sema, then hand thoseDouglas Gregor2009-04-211-2/+1
| | | | | | | | | | | | | | | tentative definitions off to the ASTConsumer at the end of the translation unit. Eliminate CodeGen's internal tracking of tentative definitions, and instead hook into ASTConsumer::CompleteTentativeDefinition. Also, tweak the definition-deferal logic for C++, where there are no tentative definitions. Fixes <rdar://problem/6808352>, and will make it much easier for precompiled headers to cope with tentative definitions in the future. llvm-svn: 69681
* Add PCH support for PredefinedExpr and FloatingLiteral expressionsDouglas Gregor2009-04-141-0/+1
| | | | llvm-svn: 69084
* PCH support for a few very, very simple kinds of expressions. Hook upDouglas Gregor2009-04-141-1/+1
| | | | | | | expression (de-)serialization for VLAs, variable initializers, enum constant initializers, and bitfield widths. llvm-svn: 69075
* When building a PCH file, don't perform end-of-translation-unitDouglas Gregor2009-04-141-1/+8
| | | | | | | | | wrap-up (e.g., turning tentative definitions into definitions). Also, very that, when we actually use the PCH file, we get the ride code generation for tentative definitions and definitions that show up in the PCH file. llvm-svn: 69043
* When writing a PCH file, keep track of all of the non-static,Douglas Gregor2009-04-141-0/+10
non-inline external definitions (and tentative definitions) that are found at the top level. The corresponding declarations are stored in a record in the PCH file, so that they can be provided to the ASTConsumer (via HandleTopLevelDecl) when the PCH file is read. llvm-svn: 69005
OpenPOWER on IntegriCloud