]> granicus.if.org Git - clang/commit
Parsing, semantic analysis, and template instantiation for typename
authorDouglas Gregor <dgregor@apple.com>
Wed, 1 Apr 2009 00:28:59 +0000 (00:28 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 1 Apr 2009 00:28:59 +0000 (00:28 +0000)
commit1734317845d60307d474b5da8a8d33adbaf5e723
tree1507be0d13c9f841e5f42f3b9e2cc53835b43055
parent8e4fea6750dbac032c172f3279c63b7815b7423e
Parsing, semantic analysis, and template instantiation for typename
specifiers that terminate in a simple-template-id, e.g.,

  typename MetaFun::template apply<T1, T2>

Also, implement template instantiation for dependent
nested-name-specifiers that involve unresolved identifiers, e.g.,

  typename T::type::type

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68166 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
include/clang/AST/ASTContext.h
include/clang/AST/NestedNameSpecifier.h
include/clang/AST/TemplateName.h
include/clang/AST/Type.h
include/clang/Basic/DiagnosticParseKinds.td
include/clang/Basic/IdentifierTable.h
include/clang/Parse/Action.h
lib/AST/ASTContext.cpp
lib/AST/NestedNameSpecifier.cpp
lib/AST/TemplateName.cpp
lib/AST/Type.cpp
lib/Parse/Parser.cpp
lib/Sema/Sema.h
lib/Sema/SemaTemplate.cpp
lib/Sema/SemaTemplateInstantiate.cpp
test/SemaTemplate/typename-specifier-2.cpp [new file with mode: 0644]