]> granicus.if.org Git - clang/commit
Store on the CXXRecordDecl whether the class has, or would have, a copy
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 28 Nov 2012 06:23:12 +0000 (06:23 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 28 Nov 2012 06:23:12 +0000 (06:23 +0000)
commitacf796b4797c5b3e9e237148fa622afdc04b3eff
tree6c271132920ce500bffd5b7d570b9f537eba17ac
parent3881866dc782c5e13b21031bd363e93fbf367167
Store on the CXXRecordDecl whether the class has, or would have, a copy
constructor/assignment operator with a const-qualified parameter type. The
prior method for determining this incorrectly used overload resolution.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168775 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclCXX.h
lib/AST/ASTImporter.cpp
lib/AST/DeclCXX.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriter.cpp
test/CXX/special/class.copy/p18-cxx11.cpp [new file with mode: 0644]
test/PCH/Inputs/cxx-method.h
test/PCH/cxx-method.cpp