]> granicus.if.org Git - clang/commit
Implement template instantiation for template names, including both
authorDouglas Gregor <dgregor@apple.com>
Tue, 31 Mar 2009 18:38:02 +0000 (18:38 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 31 Mar 2009 18:38:02 +0000 (18:38 +0000)
commitde650ae96b53eb6109f29fdb5ee51c514259e6e4
treec8110a61def8698d6cda53263f62e0e61a7808c9
parentf8c4f5469d7db591eeacfc3381d91f773fb7af43
Implement template instantiation for template names, including both
template template parameters and dependent template names. For
example, the oft-mentioned

  typename MetaFun::template apply<T1, T2>::type

can now be instantiated, with the appropriate name lookup for "apply".

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68128 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/TemplateName.h
include/clang/Basic/DiagnosticSemaKinds.td
lib/AST/TemplateName.cpp
lib/Sema/Sema.h
lib/Sema/SemaTemplateInstantiate.cpp
test/SemaTemplate/instantiate-template-template-parm.cpp [new file with mode: 0644]
test/SemaTemplate/metafun-apply.cpp