[clang] [clang][analyzer] Improved PointerSubChecker (PR #93676)

Balazs Benics via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 7 02:25:11 PDT 2024


=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?= <balazs.keri at ericsson.com>,
=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?= <balazs.keri at ericsson.com>,
=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?= <balazs.keri at ericsson.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/93676 at github.com>


================
@@ -53,10 +62,10 @@ void f4(void) {
   int (*p)[m] = a; // p == &a[0]
   p += 1; // p == &a[1]
 
-  // FIXME: This warning is not needed
+  // FIXME: This is a known problem with -Wpointer-arith
----------------
steakhal wrote:

Please put the issue link here and to the other place.

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


More information about the cfe-commits mailing list