diff options
author | Chris Lattner <sabre@nondot.org> | 2008-04-10 02:22:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-04-10 02:22:51 +0000 |
commit | 8123a95c33b792d35c2e4992ba6e27882748fb0d (patch) | |
tree | 33cd02a28ced427832214e01d1cfdca997f262b3 /lib/Parse/ParseDecl.cpp | |
parent | 05cbe1a44e6143d44aac0e769ba120e8c45f34ce (diff) |
Several improvements from Doug Gregor related to default
argument handling. I'll fix up the c89 (void) thing next.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49459 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseDecl.cpp')
-rw-r--r-- | lib/Parse/ParseDecl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp index 0eb95fa908..a7c638532d 100644 --- a/lib/Parse/ParseDecl.cpp +++ b/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) { |