Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move ASTConsumers.h to include/clang/Frontend, and move the associated | Eli Friedman | 2009-05-18 | 1 | -78/+0 |
| | | | | | | .cpp files to lib/Frontend. (As proposed on cfe-dev.) llvm-svn: 72060 | ||||
* | Refactor ASTConsumers to take a raw_ostream instead of a filename where | Eli Friedman | 2009-05-18 | 1 | -17/+8 |
| | | | | | | appropriate. There shouldn't be any significant functionality change. llvm-svn: 72052 | ||||
* | Implement caching of stat() calls for precompiled headers, which is | Douglas Gregor | 2009-04-27 | 1 | -4/+13 |
| | | | | | | | | essentially the same thing we do with pretokenized headers. stat() caching improves performance of the Cocoa-prefixed "Hello, World" by 45%. llvm-svn: 70223 | ||||
* | Introduce the notion of a SemaConsumer, which is an ASTConsumer that | Douglas Gregor | 2009-04-20 | 1 | -3/+7 |
| | | | | | | | | | also gets access to the Sema object performing semantic analysis. This will be used by the PCH writer to serialize Sema state. No functionality change. llvm-svn: 69595 | ||||
* | emit tokens, constify the Preprocessor passed down into PCH writer. | Chris Lattner | 2009-04-10 | 1 | -3/+3 |
| | | | | llvm-svn: 68798 | ||||
* | Arrange for the preprocessor to be passed down into the PCH writer. | Chris Lattner | 2009-04-10 | 1 | -14/+10 |
| | | | | llvm-svn: 68790 | ||||
* | Implementation of pre-compiled headers (PCH) based on lazy | Douglas Gregor | 2009-04-09 | 1 | -0/+78 |
de-serialization of abstract syntax trees. PCH support serializes the contents of the abstract syntax tree (AST) to a bitstream. When the PCH file is read, declarations are serialized as-needed. For example, a declaration of a variable "x" will be deserialized only when its VarDecl can be found by a client, e.g., based on name lookup for "x" or traversing the entire contents of the owner of "x". This commit provides the framework for serialization and (lazy) deserialization, along with support for variable and typedef declarations (along with several kinds of types). More declarations/types, along with important auxiliary structures (source manager, preprocessor, etc.), will follow. llvm-svn: 68732 |