[modules] If we add an implicit special member to a class through an update
record, and that class declaration is not the canonical definition of the class, be sure to add the class to the list of classes that are consulted when we look up a special member in the canonical definition. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@226778 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/Serialization/ASTReaderDecl.cpp 13 additions, 1 deletionlib/Serialization/ASTReaderDecl.cpp
- test/Modules/Inputs/merge-implicit-special-members/a.h 1 addition, 0 deletionstest/Modules/Inputs/merge-implicit-special-members/a.h
- test/Modules/Inputs/merge-implicit-special-members/b.h 1 addition, 0 deletionstest/Modules/Inputs/merge-implicit-special-members/b.h
- test/Modules/Inputs/merge-implicit-special-members/c.h 3 additions, 0 deletionstest/Modules/Inputs/merge-implicit-special-members/c.h
- test/Modules/Inputs/merge-implicit-special-members/module.modulemap 3 additions, 0 deletions...es/Inputs/merge-implicit-special-members/module.modulemap
- test/Modules/merge-implicit-special-members.cpp 5 additions, 0 deletionstest/Modules/merge-implicit-special-members.cpp
Loading
Please register or sign in to comment