diff --git a/clang/lib/Parse/ParseExprCXX.cpp b/clang/lib/Parse/ParseExprCXX.cpp index 5dc43ed34d27..7ce136c1794a 100644 --- a/clang/lib/Parse/ParseExprCXX.cpp +++ b/clang/lib/Parse/ParseExprCXX.cpp @@ -313,7 +313,7 @@ bool Parser::ParseCXXTypeSpecifierSeq(DeclSpec &DS) { Diag(Tok.getLocation(), diag::err_operator_missing_type_specifier); return true; } - while (MaybeParseTypeSpecifier(DS, isInvalid, PrevSpec)); + while (MaybeParseTypeSpecifier(DS, isInvalid, PrevSpec)) ; return false; }