]> granicus.if.org Git - clang/commit
PR13381, part 2: when determining if a defaulted special member function should
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 18 Jul 2012 03:51:16 +0000 (03:51 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 18 Jul 2012 03:51:16 +0000 (03:51 +0000)
commit517bb844016064f303416f09f1aeb123e32c0f66
treebed0b77843a3ce000f87c7439c227ce2301c03cd
parent6a06e5ff3b680dcf7234d200309fd2400c478095
PR13381, part 2: when determining if a defaulted special member function should
be defined as deleted, take cv-qualifiers on class members into account when
looking up the copy or move constructor or assignment operator which will be
used for them.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160418 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp
test/CXX/special/class.copy/p11.0x.copy.cpp
test/CXX/special/class.copy/p23-cxx11.cpp