]> granicus.if.org Git - clang/commit
Preserve the FoundDecl when performing overload resolution for constructors.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 11 May 2016 20:37:46 +0000 (20:37 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 11 May 2016 20:37:46 +0000 (20:37 +0000)
commit9821058530c8aa4d14cfadb324194245032a1c91
tree32e956d11ae51fd1348cb0d1eb69e9e7af043128
parentda822bb6244dfc205c1a7f617226ef0d26b352c9
Preserve the FoundDecl when performing overload resolution for constructors.
This is in preparation for C++ P0136R1, which switches the model for inheriting
constructors over from synthesizing a constructor to finding base class
constructors (via using shadow decls) when looking for derived class
constructors.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269231 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
include/clang/AST/ExprCXX.h
include/clang/Sema/Overload.h
include/clang/Sema/Sema.h
include/clang/Sema/TemplateDeduction.h
lib/AST/ASTImporter.cpp
lib/AST/ExprCXX.cpp
lib/CodeGen/CGObjC.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaInit.cpp
lib/Sema/SemaLookup.cpp
lib/Sema/SemaOverload.cpp
lib/Sema/SemaTemplate.cpp
lib/Sema/SemaTemplateInstantiate.cpp
lib/Sema/TreeTransform.h