[clang] Fixed two typos: "__builin_" --> "__builtin_" (PR #98782)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Jul 13 18:33:05 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: None (ZERICO2005)
<details>
<summary>Changes</summary>
Fixed two typos:
1. `__builin_va_list` --> `__builtin_va_list`
2. `__builin_suspend` --> `__builtin_suspend`
---
Full diff: https://github.com/llvm/llvm-project/pull/98782.diff
1 Files Affected:
- (modified) clang/docs/LanguageExtensions.rst (+2-2)
``````````diff
diff --git a/clang/docs/LanguageExtensions.rst b/clang/docs/LanguageExtensions.rst
index 81784c75081ba..0ebe9e35fb12e 100644
--- a/clang/docs/LanguageExtensions.rst
+++ b/clang/docs/LanguageExtensions.rst
@@ -3990,7 +3990,7 @@ ellipsis (``...``) in the function signature. Alternatively, in C23 mode or
later, it may be the integer literal ``0`` if there is no parameter preceding
the ellipsis. This function initializes the given ``__builtin_va_list`` object.
It is undefined behavior to call this function on an already initialized
-``__builin_va_list`` object.
+``__builtin_va_list`` object.
* ``void __builtin_va_end(__builtin_va_list list)``
@@ -4324,7 +4324,7 @@ an appropriate value during the emission.
Note that there is no builtin matching the `llvm.coro.save` intrinsic. LLVM
automatically will insert one if the first argument to `llvm.coro.suspend` is
-token `none`. If a user calls `__builin_suspend`, clang will insert `token none`
+token `none`. If a user calls `__builtin_suspend`, clang will insert `token none`
as the first argument to the intrinsic.
Source location builtins
``````````
</details>
https://github.com/llvm/llvm-project/pull/98782
More information about the cfe-commits
mailing list