]> granicus.if.org Git - clang/commit
Add support for derived class special members hiding functions brought in from
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 13 May 2016 06:47:56 +0000 (06:47 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 13 May 2016 06:47:56 +0000 (06:47 +0000)
commit37b415dd0637005d5d01d75e7a55b860f7fc79d9
tree7ccff2414d7efb6e55a0c20db1af41472279951d
parent3d47197c64ef2e0be44f7f83e6c685077fb595a7
Add support for derived class special members hiding functions brought in from
a base class via a using-declaration. If a class has a using-declaration
declaring either a constructor or an assignment operator, eagerly declare its
special members in case they need to displace a shadow declaration from a
using-declaration.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269398 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclCXX.h
include/clang/Sema/Sema.h
lib/AST/ASTImporter.cpp
lib/AST/DeclCXX.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriter.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p12.cpp
test/SemaCUDA/implicit-member-target.cu
test/SemaCXX/constructor-recovery.cpp