summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-04-10 02:22:51 +0000
committerChris Lattner <sabre@nondot.org>2008-04-10 02:22:51 +0000
commit58258246ec920a7c83f8c2fd8b46646f8336f68b (patch)
tree6e95a9d718f3a3c3477da857719d496224eca851 /clang/lib/Parse/ParseDecl.cpp
parenta29d2536aa5c35d8920518fa3c3401aedc310909 (diff)
downloadbcm5719-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.cpp3
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) {
OpenPOWER on IntegriCloud