[clang] [docs] Document signature of builtin functions more consistently (PR #246637)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 27 21:45:43 PST 2026


================
@@ -4415,7 +4411,7 @@ builtin, the mangler emits their usual pattern without any special treatment.
 
 ```c
 // Computes a unique stable name for the given type.
-constexpr const char * __builtin_sycl_unique_stable_name( type-id );
+constexpr const char * __builtin_sycl_unique_stable_name(type-id);
----------------
tbaederr wrote:

Adding constexpr to all builtins we support at compile-time is probably a good idea too for a future patch(?)

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


More information about the cfe-commits mailing list