forked from OSchip/llvm-project
[NFC] Add parentheses to avoid -Wparentheses.
llvm-svn: 359968
This commit is contained in:
parent
8205a814a6
commit
55dc751ef7
|
@ -3891,7 +3891,7 @@ void Parser::ParseDeclarationSpecifiers(DeclSpec &DS,
|
|||
continue;
|
||||
}
|
||||
|
||||
assert(!isAlreadyConsumed || RangeEnd != SourceLocation() &&
|
||||
assert((!isAlreadyConsumed || RangeEnd != SourceLocation()) &&
|
||||
"both or neither of isAlreadyConsumed and "
|
||||
"RangeEnd needs to be set");
|
||||
DS.SetRangeEnd(isAlreadyConsumed ? RangeEnd : Tok.getLocation());
|
||||
|
|
Loading…
Reference in New Issue