aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorpeter klausler <pklausler@nvidia.com>2021-10-22 16:39:16 -0700
committerpeter klausler <pklausler@nvidia.com>2021-10-22 17:52:32 -0700
commitfc3f92a8f457d3067aeb7043e876cfa437c24e31 (patch)
treea5b73ce6271895264fc195b8196953a0b438b771 /clang/lib/Lex/ModuleMap.cpp
parent4e3eebc6bd326441c11f5ecd71284d42157c302d (diff)
downloadllvm-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