]> granicus.if.org Git - clang/commit
[modules] Fix deserialization cycle when loading a tag declaration with a typedef...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 30 Aug 2014 00:04:23 +0000 (00:04 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 30 Aug 2014 00:04:23 +0000 (00:04 +0000)
commit3b961266218aadc9051719994278ba0d9c78ca0f
treef3de9f2aee15c3174974c2df99331caf39113400
parent0f8d38e7e892eb6b7fb2bc7a09a8f078819e6026
[modules] Fix deserialization cycle when loading a tag declaration with a typedef name for linkage purposes. When loading the type, delay loading its typedef until we've finished loading and merging the type. In its place, save out the name of the typedef, which we need for merging purposes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@216806 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriterDecl.cpp
test/Modules/Inputs/cxx-decls-imported.h
test/Modules/Inputs/cxx-decls-merged.h
test/Modules/cxx-decls.cpp