From 55ad91fecb076c4afadb2cf0591e1bc94db6df0b Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Thu, 18 Dec 2008 19:37:40 +0000 Subject: Ultrasimplistic sketch for the parsing of C++ template-ids. This won't become useful or correct until we (1) parse template arguments correctly, (2) have some way to turn template-ids into types, declarators, etc., and (3) have a real representation of templates. llvm-svn: 61208 --- clang/lib/Parse/MinimalAction.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'clang/lib/Parse/MinimalAction.cpp') diff --git a/clang/lib/Parse/MinimalAction.cpp b/clang/lib/Parse/MinimalAction.cpp index 583781056e0..c4e7ecc0c37 100644 --- a/clang/lib/Parse/MinimalAction.cpp +++ b/clang/lib/Parse/MinimalAction.cpp @@ -73,6 +73,16 @@ bool MinimalAction::isCurrentClassName(const IdentifierInfo &, Scope *, return false; } + /// isTemplateName - Determines whether the identifier II is a + /// template name in the current scope, and returns the template + /// declaration if II names a template. An optional CXXScope can be + /// passed to indicate the C++ scope in which the identifier will be + /// found. +Action::DeclTy *MinimalAction::isTemplateName(IdentifierInfo &II, Scope *S, + const CXXScopeSpec *SS ) { + return 0; +} + /// ActOnDeclarator - If this is a typedef declarator, we modify the /// IdentifierInfo::FETokenInfo field to keep track of this fact, until S is /// popped. -- cgit v1.2.3