[NFC] Add parentheses to avoid -Wparentheses.

llvm-svn: 359968
This commit is contained in:
Nicolas Lesser 2019-05-04 11:28:11 +00:00
parent 8205a814a6
commit 55dc751ef7
1 changed files with 1 additions and 1 deletions

View File

@ -3891,7 +3891,7 @@ void Parser::ParseDeclarationSpecifiers(DeclSpec &DS,
continue; continue;
} }
assert(!isAlreadyConsumed || RangeEnd != SourceLocation() && assert((!isAlreadyConsumed || RangeEnd != SourceLocation()) &&
"both or neither of isAlreadyConsumed and " "both or neither of isAlreadyConsumed and "
"RangeEnd needs to be set"); "RangeEnd needs to be set");
DS.SetRangeEnd(isAlreadyConsumed ? RangeEnd : Tok.getLocation()); DS.SetRangeEnd(isAlreadyConsumed ? RangeEnd : Tok.getLocation());