[modules] If we add an implicit special member to a class through an update
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 22 Jan 2015 03:50:31 +0000 (03:50 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 22 Jan 2015 03:50:31 +0000 (03:50 +0000)
commit1b65dbc4772181dea314782d18717e5397ad2354
tree27b076d5f950711a09a43f7c38be79584527ff74
parentfa11d837a0d9e561426d6680761982472a0d1296
[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.

llvm-svn: 226778
clang/lib/Serialization/ASTReaderDecl.cpp
clang/test/Modules/Inputs/merge-implicit-special-members/a.h [new file with mode: 0644]
clang/test/Modules/Inputs/merge-implicit-special-members/b.h [new file with mode: 0644]
clang/test/Modules/Inputs/merge-implicit-special-members/c.h [new file with mode: 0644]
clang/test/Modules/Inputs/merge-implicit-special-members/module.modulemap [new file with mode: 0644]
clang/test/Modules/merge-implicit-special-members.cpp [new file with mode: 0644]