]> granicus.if.org Git - clang/commit
Variable templates: handle instantiation of static data member templates
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 27 Sep 2013 20:14:12 +0000 (20:14 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 27 Sep 2013 20:14:12 +0000 (20:14 +0000)
commitd0629eb137d06bf6d46a430abdb7fa044909298b
treec2dcbbfb24cf758d54fa53f56e1174bee4661b18
parent2096fd6918bd19aabcbf19ddc8dcd0b94f4274af
Variable templates: handle instantiation of static data member templates
appropriately, especially when they appear within class templates.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191548 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
include/clang/AST/Decl.h
include/clang/AST/DeclTemplate.h
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Template.h
lib/AST/ASTContext.cpp
lib/AST/Decl.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaTemplate.cpp
lib/Sema/SemaTemplateInstantiate.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/CodeGenCXX/cxx1y-variable-template.cpp [new file with mode: 0644]
test/SemaCXX/cxx1y-variable-templates_in_class.cpp
test/SemaTemplate/explicit-instantiation.cpp