summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-04-09 22:27:44 +0000
committerDouglas Gregor <dgregor@apple.com>2009-04-09 22:27:44 +0000
commitef84c4b434ebd74aa44f2ac1206b8236463cb139 (patch)
tree895ebd296d57b73eeec8ce5da1a81f1eef36a9e7 /clang/lib/CodeGen/CodeGenModule.cpp
parentf2489ea0431e81a1ba75d06bf9fab47ba08e187e (diff)
downloadbcm5719-llvm-ef84c4b434ebd74aa44f2ac1206b8236463cb139.tar.gz
bcm5719-llvm-ef84c4b434ebd74aa44f2ac1206b8236463cb139.zip
Implementation of pre-compiled headers (PCH) based on lazy
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud