]> granicus.if.org Git - clang/commit
Make the deserialization of macro definitions lazy, so that we can
authorDouglas Gregor <dgregor@apple.com>
Sat, 30 Oct 2010 00:23:06 +0000 (00:23 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 30 Oct 2010 00:23:06 +0000 (00:23 +0000)
commit295a2a617ac335f590e430ab7fcd98f8ce109251
treef99afd1bb537d0c93b87cd955cefe6e810cc36e0
parent20e047abc5f19dc948436c0fb891450d9cd40667
Make the deserialization of macro definitions lazy, so that we can
load identifiers without loading their corresponding macro
definitions. This is likely to improve PCH performance slightly, and
reduces deserialization stack depth considerably when using
preprocessor metaprogramming.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117750 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/IdentifierTable.h
include/clang/Lex/ExternalPreprocessorSource.h
include/clang/Lex/Preprocessor.h
include/clang/Serialization/ASTReader.h
lib/Lex/PPMacroExpansion.cpp
lib/Serialization/ASTReader.cpp