[clang] [docs] Add "constexpr" or "consteval" to pseudo-declarations of builtins (PR #247014)

Jan Schultke via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 29 23:31:55 PST 2026


================
@@ -4710,8 +4710,8 @@ fall into one of the specified floating-point classes.
 **Syntax**:
 
 ```c++
-int __builtin_isfpclass(fp_type expr, int mask);
-int_vector __builtin_isfpclass(fp_vector expr, int mask);
+constexpr int        __builtin_isfpclass(fp_type expr, int mask);
+constexpr int_vector __builtin_isfpclass(fp_vector expr, int mask);
----------------
eisenwave wrote:

Fixed.

It doesn't; I was mostly testing via `__has_constexpr_builtin`, but that doesn't capture nuances like vector intrinsics not having `constexpr` support.

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


More information about the cfe-commits mailing list