From: Nicolas Lesser Date: Sat, 4 May 2019 11:28:11 +0000 (+0000) Subject: [NFC] Add parentheses to avoid -Wparentheses. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7985bcbf1b95421a000b3bd70298dfe7532a59db;p=clang [NFC] Add parentheses to avoid -Wparentheses. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359968 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp index e81e0863b5..f63fd56a89 100644 --- a/lib/Parse/ParseDecl.cpp +++ b/lib/Parse/ParseDecl.cpp @@ -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());