diff options
Diffstat (limited to 'lib/Parse/ParseDecl.cpp')
-rw-r--r-- | lib/Parse/ParseDecl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp index e3094ad7c6..70d65f3b48 100644 --- a/lib/Parse/ParseDecl.cpp +++ b/lib/Parse/ParseDecl.cpp @@ -1494,6 +1494,7 @@ void Parser::ParseDirectDeclarator(Declarator &D) { else Diag(Tok, diag::err_expected_ident_lparen); // Expected identifier or '('. D.SetIdentifier(0, Tok.getLocation()); + D.setInvalidType(true); } assert(D.isPastIdentifier() && |