diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-04-27 05:44:51 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-04-27 05:44:51 +0000 |
commit | 9b2d706e0564a25466f305271793a3de8bd30cd7 (patch) | |
tree | e3c204ee7357560662506e2435e79a9074f04e1d /clang/lib/Parse/ParseDecl.cpp | |
parent | 01eff820ae0bc6ec55e389c5bb26a396816069a1 (diff) | |
download | bcm5719-llvm-9b2d706e0564a25466f305271793a3de8bd30cd7.tar.gz bcm5719-llvm-9b2d706e0564a25466f305271793a3de8bd30cd7.zip |
Clean out some cruft I introduced when adding Sema::ClassifyName()
llvm-svn: 130295
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
-rw-r--r-- | clang/lib/Parse/ParseDecl.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/clang/lib/Parse/ParseDecl.cpp b/clang/lib/Parse/ParseDecl.cpp index a021b84d157..dabb7565cb0 100644 --- a/clang/lib/Parse/ParseDecl.cpp +++ b/clang/lib/Parse/ParseDecl.cpp @@ -724,29 +724,7 @@ Parser::DeclGroupPtrTy Parser::ParseSimpleDeclaration(StmtVector &Stmts, // Parse the common declaration-specifiers piece. ParsingDeclSpec DS(*this); DS.takeAttributesFrom(attrs); - return ParseSimpleDeclaration(DS, Stmts, Context, DeclEnd, RequireSemi, FRI); -} -/// simple-declaration: [C99 6.7: declaration] [C++ 7p1: dcl.dcl] -/// declaration-specifiers init-declarator-list[opt] ';' -///[C90/C++]init-declarator-list ';' [TODO] -/// [OMP] threadprivate-directive [TODO] -/// -/// for-range-declaration: [C++0x 6.5p1: stmt.ranged] -/// attribute-specifier-seq[opt] type-specifier-seq declarator -/// -/// If RequireSemi is false, this does not check for a ';' at the end of the -/// declaration. If it is true, it checks for and eats it. -/// -/// If FRI is non-null, we might be parsing a for-range-declaration instead -/// of a simple-declaration. If we find that we are, we also parse the -/// for-range-initializer, and place it here. -Parser::DeclGroupPtrTy Parser::ParseSimpleDeclaration(ParsingDeclSpec &DS, - StmtVector &Stmts, - unsigned Context, - SourceLocation &DeclEnd, - bool RequireSemi, - ForRangeInit *FRI) { ParseDeclarationSpecifiers(DS, ParsedTemplateInfo(), AS_none, getDeclSpecContextFromDeclaratorContext(Context)); StmtResult R = Actions.ActOnVlaStmt(DS); |