Check and build conversion sequences for non-type template arguments in
dependent contexts when processing the template in C++11 and C++14, just like we do in C++98 and C++1z. This allows us to diagnose invalid templates earlier. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290567 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/Sema/SemaOverload.cpp 1 addition, 1 deletionlib/Sema/SemaOverload.cpp
- lib/Sema/SemaTemplate.cpp 8 additions, 10 deletionslib/Sema/SemaTemplate.cpp
- test/SemaTemplate/temp_arg_nontype_cxx11.cpp 9 additions, 0 deletionstest/SemaTemplate/temp_arg_nontype_cxx11.cpp
- test/SemaTemplate/temp_arg_nontype_cxx1z.cpp 1 addition, 1 deletiontest/SemaTemplate/temp_arg_nontype_cxx1z.cpp
Loading
Please register or sign in to comment