[clang] [clang][Sema] Handle alloc_align on all HasFunctionProto declarations (PR #210871)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 21 07:48:08 PDT 2026
================
@@ -0,0 +1,8 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+
+// expected-no-diagnostics
+
+ at interface AllocAlignMethod
+- (void *)allocate:(unsigned long)alignment
----------------
AaronBallman wrote:
We should also have a test that shows we correctly diagnose an invalid parameter type.
https://github.com/llvm/llvm-project/pull/210871
More information about the cfe-commits
mailing list