[clang] [clang][Sema] Diagnose passing function pointer to `__builtin_assume_aligned` (PR #153552)

Victor Chernyakin via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 14 17:34:06 PDT 2025


================
@@ -1,9 +0,0 @@
-// RUN: %clang_cc1 -fsyntax-only -Wno-int-conversion -triple x86_64-linux -verify %s
----------------
localspook wrote:

The pointer is now always converted to `const void *`, so we no longer need to disallow these integer conversions.

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


More information about the cfe-commits mailing list