]> granicus.if.org Git - clang/commit
DR1391: Check for implicit conversion sequences for non-dependent function
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 2 Jan 2017 02:42:17 +0000 (02:42 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 2 Jan 2017 02:42:17 +0000 (02:42 +0000)
commit1c79362aff79b19a8ea62ebae773ccdf7f6a463f
tree1c880537c53d6ab7329ab7cb30d3a22ad801e08a
parentf34626d89a76cf31b64c3a7b6b280cd2c5cc7f68
DR1391: Check for implicit conversion sequences for non-dependent function
template parameters between deduction and substitution. The idea is to accept
as many cases as possible, on the basis that substitution failure outside
the immediate context is much more common during substitution than during
implicit conversion sequence formation.

This does not implement the partial ordering portion of DR1391, which so
far appears to be misguided.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290808 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Overload.h
include/clang/Sema/Sema.h
lib/Sema/SemaOverload.cpp
lib/Sema/SemaTemplateDeduction.cpp
test/CXX/drs/dr13xx.cpp
test/Misc/diag-template-diffing.cpp
test/SemaCXX/overload-call.cpp
test/SemaCXX/overload-member-call.cpp
www/cxx_dr_status.html