[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:32:03 PST 2026


================
@@ -3366,7 +3366,7 @@ calculates the offset (in bytes) to a given member of the given type.
 **Syntax**:
 
 ```c++
-size_t __builtin_offsetof(type-name, member-designator);
+consteval size_t __builtin_offsetof(type-name, member-designator);
----------------
eisenwave wrote:

Fixed.

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


More information about the cfe-commits mailing list