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
Showing
- include/clang/Sema/Overload.h 45 additions, 23 deletionsinclude/clang/Sema/Overload.h
- include/clang/Sema/Sema.h 27 additions, 12 deletionsinclude/clang/Sema/Sema.h
- lib/Sema/SemaOverload.cpp 182 additions, 75 deletionslib/Sema/SemaOverload.cpp
- lib/Sema/SemaTemplateDeduction.cpp 26 additions, 10 deletionslib/Sema/SemaTemplateDeduction.cpp
- test/CXX/drs/dr13xx.cpp 78 additions, 0 deletionstest/CXX/drs/dr13xx.cpp
- test/Misc/diag-template-diffing.cpp 1 addition, 1 deletiontest/Misc/diag-template-diffing.cpp
- test/SemaCXX/overload-call.cpp 1 addition, 1 deletiontest/SemaCXX/overload-call.cpp
- test/SemaCXX/overload-member-call.cpp 1 addition, 1 deletiontest/SemaCXX/overload-member-call.cpp
- www/cxx_dr_status.html 1 addition, 1 deletionwww/cxx_dr_status.html
Loading
Please register or sign in to comment