[clang] [C23] Add __builtin_c23_va_start (PR #131166)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 13 09:51:47 PDT 2025


================
@@ -833,6 +833,12 @@ def BuiltinVaStart : Builtin {
   let Prototype = "void(__builtin_va_list_ref, ...)";
 }
 
+def BuiltinC32VaStart : LangBuiltin<"C23_LANG"> {
----------------
erichkeane wrote:

Actually KIND OF sad that this is C23 only.  a `va_start` macro having to change its implementation based on language version is sad.  I would think making this builtin available as an extension in all language modes would be defensible.

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


More information about the cfe-commits mailing list