Diagnose the instantiation of variables (including static data
members) with function type. Fixes PR8047. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113723 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Basic/DiagnosticSemaKinds.td 2 additions, 0 deletionsinclude/clang/Basic/DiagnosticSemaKinds.td
- lib/Sema/SemaTemplateInstantiateDecl.cpp 6 additions, 0 deletionslib/Sema/SemaTemplateInstantiateDecl.cpp
- test/CXX/temp/temp.arg/temp.arg.type/p2.cpp 12 additions, 0 deletionstest/CXX/temp/temp.arg/temp.arg.type/p2.cpp
Loading
Please register or sign in to comment