aboutsummaryrefslogtreecommitdiff
path: root/lib/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Parse/ParseDecl.cpp')
-rw-r--r--lib/Parse/ParseDecl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp
index 6bcb90b8ae..243a15f3db 100644
--- a/lib/Parse/ParseDecl.cpp
+++ b/lib/Parse/ParseDecl.cpp
@@ -310,6 +310,8 @@ ParseInitDeclaratorListAfterFirstDeclarator(Declarator &D) {
&Exprs[0], Exprs.size(),
&CommaLocs[0], RParenLoc);
}
+ } else {
+ Actions.ActOnUninitializedDecl(LastDeclInGroup);
}
// If we don't have a comma, it is either the end of the list (a ';') or an