Give more accurate descriptions of what kind of template we found in diagnostics.
We were previouly assuming that every type template was a class template, which is not true any more. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291988 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Basic/DiagnosticSemaKinds.td 5 additions, 3 deletionsinclude/clang/Basic/DiagnosticSemaKinds.td
- include/clang/Sema/Sema.h 12 additions, 0 deletionsinclude/clang/Sema/Sema.h
- lib/Sema/SemaDecl.cpp 20 additions, 1 deletionlib/Sema/SemaDecl.cpp
- lib/Sema/SemaTemplate.cpp 3 additions, 7 deletionslib/Sema/SemaTemplate.cpp
- test/CXX/temp/temp.spec/cxx1y-variable-template-no-body.cpp 1 addition, 1 deletiontest/CXX/temp/temp.spec/cxx1y-variable-template-no-body.cpp
- test/SemaTemplate/alias-templates.cpp 11 additions, 0 deletionstest/SemaTemplate/alias-templates.cpp
Loading
Please register or sign in to comment