[modules] Fix deserialization cycle when loading a tag declaration with a...
[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
Showing
- lib/Serialization/ASTReaderDecl.cpp 58 additions, 49 deletionslib/Serialization/ASTReaderDecl.cpp
- lib/Serialization/ASTWriterDecl.cpp 19 additions, 10 deletionslib/Serialization/ASTWriterDecl.cpp
- test/Modules/Inputs/cxx-decls-imported.h 8 additions, 0 deletionstest/Modules/Inputs/cxx-decls-imported.h
- test/Modules/Inputs/cxx-decls-merged.h 8 additions, 0 deletionstest/Modules/Inputs/cxx-decls-merged.h
- test/Modules/cxx-decls.cpp 3 additions, 0 deletionstest/Modules/cxx-decls.cpp
Loading
Please register or sign in to comment