]> granicus.if.org Git - clang/commit
[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)
commit5774697c0f5e2fc9ef906c3e291d76c3b32b6828
tree6d4a81a14fadfc3686c8072f5a92764c79e892c6
parentec4c24057e5ff9ebbb17615d969fc4b43f7deb48
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214473 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGClass.cpp
lib/CodeGen/CodeGenModule.cpp
lib/Serialization/ASTReaderDecl.cpp
test/Modules/cxx-irgen.cpp