forked from OSchip/llvm-project
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:
parent
3712c14be9
commit
d4257d847e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue