]> granicus.if.org Git - clang/commit
When adding the base and member initializers for an implicitly-defined
authorDouglas Gregor <dgregor@apple.com>
Wed, 10 Aug 2011 16:51:53 +0000 (16:51 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 10 Aug 2011 16:51:53 +0000 (16:51 +0000)
commit136da1c4320156fe8924139f58fbeed2e32cc6e8
tree07dd43565cc5722075cc6a1b58734a23674ffbb2
parenteaf4fbab08b2636103b2da08412e33baff15ad2a
When adding the base and member initializers for an implicitly-defined
special member function, make sure to classify an explicitly-defaulted
copy constructor as a "copy" operation. Fixes PR10622.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137219 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp
test/CXX/special/class.copy/p15-0x.cpp [new file with mode: 0644]