summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-07-23 16:36:45 +0000
committerDouglas Gregor <dgregor@apple.com>2009-07-23 16:36:45 +0000
commit27bdf00fd73ef3c1441dfa7d80dc5f9553dfb1ae (patch)
tree2ed3f4eac7a174b175add718db62083b5e274d00 /clang/lib/Parse/ParseDecl.cpp
parentdcb9f483bf67be763d9f8e106b8417476540d6be (diff)
downloadbcm5719-llvm-27bdf00fd73ef3c1441dfa7d80dc5f9553dfb1ae.tar.gz
bcm5719-llvm-27bdf00fd73ef3c1441dfa7d80dc5f9553dfb1ae.zip
Clean up the ActOnTag action, so that there is only a single entry
point that covers templates and non-templates. This should eliminate the flood of warnings I introduced yesterday. Removed the ActOnClassTemplate action, which is no longer used. llvm-svn: 76881
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
-rw-r--r--clang/lib/Parse/ParseDecl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Parse/ParseDecl.cpp b/clang/lib/Parse/ParseDecl.cpp
index 75831ccbba2..9d13e98560d 100644
--- a/clang/lib/Parse/ParseDecl.cpp
+++ b/clang/lib/Parse/ParseDecl.cpp
@@ -1587,6 +1587,7 @@ void Parser::ParseEnumSpecifier(SourceLocation StartLoc, DeclSpec &DS,
bool Owned = false;
DeclPtrTy TagDecl = Actions.ActOnTag(CurScope, DeclSpec::TST_enum, TK,
StartLoc, SS, Name, NameLoc, Attr, AS,
+ Action::MultiTemplateParamsArg(Actions),
Owned);
if (Tok.is(tok::l_brace))
OpenPOWER on IntegriCloud