From 58258246ec920a7c83f8c2fd8b46646f8336f68b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 10 Apr 2008 02:22:51 +0000 Subject: Several improvements from Doug Gregor related to default argument handling. I'll fix up the c89 (void) thing next. llvm-svn: 49459 --- clang/lib/Parse/ParseDecl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'clang/lib/Parse/ParseDecl.cpp') diff --git a/clang/lib/Parse/ParseDecl.cpp b/clang/lib/Parse/ParseDecl.cpp index 0eb95fa908c..a7c638532d0 100644 --- a/clang/lib/Parse/ParseDecl.cpp +++ b/clang/lib/Parse/ParseDecl.cpp @@ -1235,7 +1235,8 @@ void Parser::ParseParenDeclarator(Declarator &D) { /// [C++] declaration-specifiers declarator '=' assignment-expression /// [GNU] declaration-specifiers declarator attributes /// declaration-specifiers abstract-declarator[opt] -/// [C++] declaration-specifiers abstract-declarator[opt] '=' assignment-expression +/// [C++] declaration-specifiers abstract-declarator[opt] +/// '=' assignment-expression /// [GNU] declaration-specifiers abstract-declarator[opt] attributes /// void Parser::ParseFunctionDeclarator(SourceLocation LParenLoc, Declarator &D) { -- cgit v1.2.3