summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/JumpDiagnostics.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-02-11 00:26:14 +0000
committerDouglas Gregor <dgregor@apple.com>2011-02-11 00:26:14 +0000
commit68051a74ecb166c5d2efada9c0f2242ac0dce47f (patch)
tree94c53f299b9e22c55800556eba2f81c16f6c6280 /clang/lib/Sema/JumpDiagnostics.cpp
parent0061ff20d801f3ce1f76b0a22b0163b595dc1fed (diff)
downloadbcm5719-llvm-68051a74ecb166c5d2efada9c0f2242ac0dce47f.tar.gz
bcm5719-llvm-68051a74ecb166c5d2efada9c0f2242ac0dce47f.zip
Implement AST/PCH chaining support for macro definitions. Previously,
we would deserialize all of the macro definitions we knew about while serializing the macro definitions at the end of the AST/PCH file. Even though we skipped most of them (since they were unchanged), it's still a performance problem. Now, we do the standard AST/PCH chaining trick: watch what identifiers are deserialized as macro names, and consider only those identifiers (along with macro definitions that have been deserialized/written in the source) when serializing the preprocessor state. llvm-svn: 125324
Diffstat (limited to 'clang/lib/Sema/JumpDiagnostics.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud