diff options
author | Nicolas Lesser <blitzrakete@gmail.com> | 2019-05-04 11:28:11 +0000 |
---|---|---|
committer | Nicolas Lesser <blitzrakete@gmail.com> | 2019-05-04 11:28:11 +0000 |
commit | 7985bcbf1b95421a000b3bd70298dfe7532a59db (patch) | |
tree | 6a6e12cd24514027505aebf8e594117122e2da31 /lib/Parse/ParseDecl.cpp | |
parent | 1522af0cc90b176247953be228a1d7ab71447253 (diff) | |
download | clang-7985bcbf1b95421a000b3bd70298dfe7532a59db.tar.gz |
[NFC] Add parentheses to avoid -Wparentheses.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359968 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseDecl.cpp')
-rw-r--r-- | lib/Parse/ParseDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |