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 | 58258246ec920a7c83f8c2fd8b46646f8336f68b (patch) | |
tree | 6e95a9d718f3a3c3477da857719d496224eca851 /clang/lib/Parse/ParseDecl.cpp | |
parent | a29d2536aa5c35d8920518fa3c3401aedc310909 (diff) | |
download | bcm5719-llvm-58258246ec920a7c83f8c2fd8b46646f8336f68b.tar.gz bcm5719-llvm-58258246ec920a7c83f8c2fd8b46646f8336f68b.zip |
Several improvements from Doug Gregor related to default
argument handling. I'll fix up the c89 (void) thing next.
llvm-svn: 49459
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
-rw-r--r-- | clang/lib/Parse/ParseDecl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |