зеркало из https://github.com/microsoft/clang-1.git
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:
Родитель
bb9b80c308
Коммит
46f1110b32
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче