Author: Dag-Erling Smørgrav Date: 2026-11-14T12:02:07Z New Revision: 66f141311a8ac3da9718ead6890b86bfebfe0dfc
URL: https://github.com/llvm/llvm-project/commit/66f141311a8ac3da9718ead6890b86bfebfe0dfc DIFF: https://github.com/llvm/llvm-project/commit/66f141311a8ac3da9718ead6890b86bfebfe0dfc.diff LOG: [AArch64] Silence strict-prototype warnings (#242286) Added: Modified: clang/lib/Headers/arm_acle.h Removed: ################################################################################ diff --git a/clang/lib/Headers/arm_acle.h b/clang/lib/Headers/arm_acle.h index cfbe490d995bf..300dda9dcbc54 100644 --- a/clang/lib/Headers/arm_acle.h +++ b/clang/lib/Headers/arm_acle.h @@ -865,12 +865,12 @@ __rndrrs(uint64_t *__p) { /* 11.2 Guarded Control Stack intrinsics */ #if defined(__ARM_64BIT_STATE) && __ARM_64BIT_STATE static __inline__ void * __attribute__((__always_inline__, __nodebug__)) -__gcspr() { +__gcspr(void) { return (void *)__builtin_arm_rsr64("gcspr_el0"); } static __inline__ uint64_t __attribute__((__always_inline__, __nodebug__, target("gcs"))) -__gcspopm() { +__gcspopm(void) { return __builtin_arm_gcspopm(0); } _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
