[clang] [Sema] Fix tautological bounds check warning with -fwrapv (PR #120480)
Nathan Chancellor via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 18 13:22:31 PST 2024
================
@@ -1,40 +1,72 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -DFWRAPV -fwrapv -verify %s
----------------
nathanchance wrote:
Ah yes, that is much cleaner. Done in 8504a0d758c06fa9f3b95117fdb05021d75afe8d.
https://github.com/llvm/llvm-project/pull/120480
More information about the cfe-commits
mailing list