diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-02-09 07:31:52 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-02-09 07:31:52 +0000 |
commit | 44d2dbdce49d1fca3826d543ba875bb82f759091 (patch) | |
tree | 1f6669c3cd6619f2f9ce9ec6aea1a179016cd4bf /test/CXX/expr/expr.prim/expr.prim.lambda/p3.cpp | |
parent | 3b8e197bbfd2c9a1a5fc3ab6509f89cc274e77f8 (diff) |
Fix ASTReader::FinishedDeserializing().
We were passing a decl to the consumer after all pending deserializations were finished
but this was not enough; due to processing by the consumer we may end up into yet another
deserialization process but the way FinishedDeserializing() was setup we would not ensure
that everything was fully deserialized before returning to the consumer.
Separate ASTReader::FinishedDeserializing() into two semantic actions.
The first is ensuring that a deserialization process ends up will fully deserialized decls/types even
if the process is started by the consumer.
The second is pushing "interesting" decls to the consumer; we make sure that we don't re-enter this
section recursively be checking a variable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150160 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CXX/expr/expr.prim/expr.prim.lambda/p3.cpp')
0 files changed, 0 insertions, 0 deletions