Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Various minor fixes to PCH reading and writing, with general | Douglas Gregor | 2009-04-10 | 1 | -96/+30 |
| | | | | | | | cleanup. Aside from a minor tweak to the PCH file format, no functionality change. llvm-svn: 68793 | ||||
* | PCH serialization/deserialization of the source manager. With this | Douglas Gregor | 2009-04-10 | 1 | -0/+85 |
| | | | | | | | | | | | | improvement, source locations read from the PCH file will properly resolve to the source files that were used to build the PCH file itself. Once we have the preprocessor state stored in the PCH file, source locations that refer to macro instantiations that occur in the PCH file should have the appropriate instantiation information. llvm-svn: 68758 | ||||
* | Implementation of pre-compiled headers (PCH) based on lazy | Douglas Gregor | 2009-04-09 | 1 | -0/+602 |
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 |