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)
commit1c33fe8feae103191a3cd75e371d80032ad5f607
treee6547e619bb325d635f65feb7007a31e3f814e83
parent94c83488590dc915cdbc997747854fc31ba6bea4
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.

llvm-svn: 168775
clang/include/clang/AST/DeclCXX.h
clang/lib/AST/ASTImporter.cpp
clang/lib/AST/DeclCXX.cpp
clang/lib/Sema/SemaDeclCXX.cpp
clang/lib/Serialization/ASTReaderDecl.cpp
clang/lib/Serialization/ASTWriter.cpp
clang/test/CXX/special/class.copy/p18-cxx11.cpp [new file with mode: 0644]
clang/test/PCH/Inputs/cxx-method.h
clang/test/PCH/cxx-method.cpp