]> granicus.if.org Git - clang/commit
Rip out TemplateIdRefExpr and make UnresolvedLookupExpr and
authorJohn McCall <rjmccall@apple.com>
Tue, 24 Nov 2009 19:00:30 +0000 (19:00 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 24 Nov 2009 19:00:30 +0000 (19:00 +0000)
commitf7a1a744eba4b29ceb0f20af8f34515d892fdd64
tree9698ed40b4b0973e9f2e64c7af2fd896b154ed43
parent909e58988b3a3bb2ad36bec03aafa1302544fd73
Rip out TemplateIdRefExpr and make UnresolvedLookupExpr and
DependentScopeDeclRefExpr support storing templateids.  Unite the common
code paths between ActOnDeclarationNameExpr and ActOnTemplateIdExpr.

This gets us to a point where we don't need to store function templates in
the AST using TemplateNames, which is critical to ripping out OverloadedFunction.

Also resolves a few FIXMEs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89785 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
include/clang/AST/ExprCXX.h
include/clang/AST/StmtNodes.def
include/clang/Basic/DiagnosticSemaKinds.td
lib/AST/Expr.cpp
lib/AST/ExprCXX.cpp
lib/AST/StmtPrinter.cpp
lib/AST/StmtProfile.cpp
lib/Sema/Lookup.h
lib/Sema/Sema.h
lib/Sema/SemaCodeComplete.cpp
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaLookup.cpp
lib/Sema/SemaOverload.cpp
lib/Sema/SemaTemplate.cpp
lib/Sema/SemaTemplateInstantiate.cpp
lib/Sema/TreeTransform.h