summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-02-09 07:31:52 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-02-09 07:31:52 +0000
commit5605de7c8b6890be137493998d7aa9709248c65c (patch)
tree5438448824515c34b622796be0c6859d0ae1f0ab /llvm/lib
parent39e39c8efe0b4a8cbcf337ed440f3b04865ad0c7 (diff)
downloadbcm5719-llvm-5605de7c8b6890be137493998d7aa9709248c65c.tar.gz
bcm5719-llvm-5605de7c8b6890be137493998d7aa9709248c65c.zip
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. llvm-svn: 150160
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud