Fix gcc warning. Add parens to this assert, incidentally reassociating it, but the condition is the same either way.

llvm-svn: 129948
This commit is contained in:
Richard Smith 2011-04-21 22:48:40 +00:00
parent 3712c14be9
commit d4257d847e
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ StmtResult Parser::ParseLabeledStatement(ParsedAttributes &attrs) {
///
StmtResult Parser::ParseCaseStatement(ParsedAttributes &attrs, bool MissingCase,
ExprResult Expr) {
assert(MissingCase || Tok.is(tok::kw_case) && "Not a case stmt!");
assert((MissingCase || Tok.is(tok::kw_case)) && "Not a case stmt!");
// FIXME: Use attributes?
// It is very very common for code to contain many case statements recursively