[clang] [docs] Add some undocumented C2y stdbit.h intrinsics (PR #247017)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 29 14:01:49 PST 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Jan Schultke (eisenwave)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/247017.diff
1 Files Affected:
- (modified) clang/docs/LanguageExtensions.md (+3)
``````````diff
diff --git a/clang/docs/LanguageExtensions.md b/clang/docs/LanguageExtensions.md
index f53d4f636b4640..a2cbedab5c35b8 100644
--- a/clang/docs/LanguageExtensions.md
+++ b/clang/docs/LanguageExtensions.md
@@ -3880,6 +3880,9 @@ bool __builtin_stdc_has_single_bit(T value);
unsigned int __builtin_stdc_bit_width(T value);
T __builtin_stdc_bit_floor(T value);
T __builtin_stdc_bit_ceil(T value);
+T __builtin_stdc_rotate_left(T value, unsigned int count);
+T __builtin_stdc_rotate_right(T value, unsigned int count);
+void __builtin_stdc_memreverse8(size_t n, unsigned char *ptr);
```
where `T` is any unsigned integer type except `bool` and enumeration types,
``````````
</details>
https://github.com/llvm/llvm-project/pull/247017
More information about the cfe-commits
mailing list