]> granicus.if.org Git - clang/commit
Defer loading any pending update records until we've finished deserializing.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 30 Apr 2014 02:24:17 +0000 (02:24 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 30 Apr 2014 02:24:17 +0000 (02:24 +0000)
commit810876919a16f5c2f0f18746b8dd9581746db599
tree3db02b3719d2105a1d0ab92b03c99d0df58897dc
parent42e599fb3f4321c02cb221c7c90ad91e994aafb6
Defer loading any pending update records until we've finished deserializing.
This fixes a bug where an update record causes us to load an entity that refers
to an entity we've not finished loading yet, resulting in badness.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207603 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTReaderDecl.cpp
test/Modules/Inputs/templates-left.h
test/Modules/Inputs/templates-top.h
test/Modules/templates.mm