[clang] Add new flag -Wpointer-integer-ordered-compare (PR #88489)

Bhuminjay Soni via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 18 02:45:17 PDT 2024


================
@@ -245,6 +245,12 @@ Modified Compiler Flags
        f3 *c = (f3 *)x;
      }
 
+- Added a new diagnostic flag ``-Wpointer-integer-ordered-compare`` which is
+  grouped under ``-Wpointer-integer-compare`` and moved previously
+  ungrouped diagnostics ``ext_typecheck_ordered_comparison_of_pointer_integer``,
+  ``ext_typecheck_ordered_comparison_of_pointer_and_zero`` under
+  ``-Wpointer-integer-ordered-compare``. Fixes #GH88090
----------------
11happy wrote:

done

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


More information about the cfe-commits mailing list