diff options
author | peter klausler <pklausler@nvidia.com> | 2021-10-22 16:39:16 -0700 |
---|---|---|
committer | peter klausler <pklausler@nvidia.com> | 2021-10-22 17:52:32 -0700 |
commit | fc3f92a8f457d3067aeb7043e876cfa437c24e31 (patch) | |
tree | a5b73ce6271895264fc195b8196953a0b438b771 /clang/lib/Lex/ModuleMap.cpp | |
parent | 4e3eebc6bd326441c11f5ecd71284d42157c302d (diff) | |
download | llvm-fc3f92a8f457d3067aeb7043e876cfa437c24e31.zip llvm-fc3f92a8f457d3067aeb7043e876cfa437c24e31.tar.gz llvm-fc3f92a8f457d3067aeb7043e876cfa437c24e31.tar.bz2 |
[flang] Fix buildbot (new warnings on old code)
The clang-aarch64-full-2stage buildbot is complaining about a
warning with three instances in f18 code (none modified recently).
The warning is for using the | bitwise OR operator on bool operands.
In one instance, the bitwise operator was being used instead of the
logical || operator in order to avoid short-circuting. The fix
requires using some temporary variables. In the other two instances,
the bitwise operator seemed more idiomatic in context, but can be
replaced without harm with the logical operator.
Pushing without review as confidence is high and nobody wants
a buildbot to stay sad for long.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions