[modules] Remove IRGen special case for emitting implicit special members if
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 1 Aug 2014 01:56:39 +0000 (01:56 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 1 Aug 2014 01:56:39 +0000 (01:56 +0000)
commit46bb581a03af0fb5710e37ce24ff09e596b94588
treeb3d20f5367bb4eb1307127ce591f2cab080c7cdc
parent264da422b95a6c57abbee9cb5a600c4de68ebda8
[modules] Remove IRGen special case for emitting implicit special members if
they're somehow missing a body. Looks like this was left behind when the loop
was generalized, and it's not been problematic before because without modules,
a used, implicit special member function declaration must be a definition.

This was resulting in us trying to emit a constructor declaration rather than
a definition, and producing a constructor missing its member initializers.

llvm-svn: 214473
clang/lib/CodeGen/CGClass.cpp
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/Serialization/ASTReaderDecl.cpp
clang/test/Modules/cxx-irgen.cpp