summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorMikael Holmen <mikael.holmen@ericsson.com>2019-05-09 12:11:57 +0000
committerMikael Holmen <mikael.holmen@ericsson.com>2019-05-09 12:11:57 +0000
commite889472f6daf2da06925f0124a983e3f0e10cb61 (patch)
treefa3a764845db7e7ec32f7b394dadaa8117ee793d /lib/CodeGen/CodeGenFunction.cpp
parent627d73ca1fec6bdff9f39c9b70cf1f3e9fd86781 (diff)
downloadclang-e889472f6daf2da06925f0124a983e3f0e10cb61.tar.gz
Fix gcc compilation warning in an assert [NFC]
Without this, gcc (7.4) complains with ../tools/clang/lib/Parse/ParseDecl.cpp:3937:63: error: suggest parentheses around '&&' within '||' [-Werror=parentheses] assert(!isAlreadyConsumed || RangeEnd != SourceLocation() && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ "both or neither of isAlreadyConsumed and " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "RangeEnd needs to be set"); ~ git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360333 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions