aboutsummaryrefslogtreecommitdiff
path: root/lib/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-04-27 05:44:51 +0000
committerDouglas Gregor <dgregor@apple.com>2011-04-27 05:44:51 +0000
commitd0719b183ae331e0e8731c486f21392e0eb288c3 (patch)
treec13ddccd39d6a5f14e01bf22f31213e6948623d9 /lib/Parse/ParseDecl.cpp
parentd9d75e57dfa22366c0379c92beac1db82db34e9a (diff)
Clean out some cruft I introduced when adding Sema::ClassifyName()
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130295 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseDecl.cpp')
-rw-r--r--lib/Parse/ParseDecl.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp
index a021b84d15..dabb7565cb 100644
--- a/lib/Parse/ParseDecl.cpp
+++ b/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);