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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129948 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Richard Smith 2011-04-21 22:48:40 +00:00
Родитель bb9b80c308
Коммит 46f1110b32
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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