[flang-commits] [clang] [flang] [lldb] [llvm] [mlir] [NFC] Silence -Wbool-integral-comparison warnings across LLVM (PR #195246)

Mehdi Amini via flang-commits flang-commits at lists.llvm.org
Sat May 2 11:22:24 PDT 2026


================
@@ -1421,7 +1421,7 @@ void ByteCodeExecutor::executeApplyConstraint(PatternRewriter &rewriter) {
 
   LDBG() << "  * Arguments: " << llvm::interleaved(args);
 
-  ByteCodeField isNegated = read();
+  bool isNegated = read();
----------------
joker-eph wrote:

This code seems worse than before to me.

https://github.com/llvm/llvm-project/pull/195246


More information about the flang-commits mailing list