diff options
| author | Mikael Holmen <mikael.holmen@ericsson.com> | 2019-05-09 12:11:57 +0000 |
|---|---|---|
| committer | Mikael Holmen <mikael.holmen@ericsson.com> | 2019-05-09 12:11:57 +0000 |
| commit | e889472f6daf2da06925f0124a983e3f0e10cb61 (patch) | |
| tree | fa3a764845db7e7ec32f7b394dadaa8117ee793d /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 627d73ca1fec6bdff9f39c9b70cf1f3e9fd86781 (diff) | |
| download | clang-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
