[libc-commits] [libc] [libc] Fix typos in documentation (PR #139852)
via libc-commits
libc-commits at lists.llvm.org
Tue May 13 23:41:21 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: Kazu Hirata (kazutakahirata)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/139852.diff
3 Files Affected:
- (modified) libc/docs/configure.rst (+1-1)
- (modified) libc/docs/dev/code_style.rst (+1-1)
- (modified) libc/docs/dev/source_tree_layout.rst (+1-1)
``````````diff
diff --git a/libc/docs/configure.rst b/libc/docs/configure.rst
index dee9a63101eb9..8d53390ae19bf 100644
--- a/libc/docs/configure.rst
+++ b/libc/docs/configure.rst
@@ -33,7 +33,7 @@ to learn about the defaults for your platform and target.
* **"general" options**
- ``LIBC_ADD_NULL_CHECKS``: Add nullptr checks in the library's implementations to some functions for which passing nullptr is undefined behavior.
* **"math" options**
- - ``LIBC_CONF_FREXP_INF_NAN_EXPONENT``: The value written back to the second parameter when calling frexp/frexpf/frexpl` with `+/-Inf`/`NaN` is unspecified. Configue an explicit exp value for Inf/NaN inputs.
+ - ``LIBC_CONF_FREXP_INF_NAN_EXPONENT``: The value written back to the second parameter when calling frexp/frexpf/frexpl` with `+/-Inf`/`NaN` is unspecified. Configure an explicit exp value for Inf/NaN inputs.
- ``LIBC_CONF_MATH_OPTIMIZATIONS``: Configures optimizations for math functions. Values accepted are LIBC_MATH_SKIP_ACCURATE_PASS, LIBC_MATH_SMALL_TABLES, LIBC_MATH_NO_ERRNO, LIBC_MATH_NO_EXCEPT, and LIBC_MATH_FAST.
* **"printf" options**
- ``LIBC_CONF_PRINTF_DISABLE_FIXED_POINT``: Disable printing fixed point values in printf and friends.
diff --git a/libc/docs/dev/code_style.rst b/libc/docs/dev/code_style.rst
index 28d8277417b2b..0bd3a69ae3ffe 100644
--- a/libc/docs/dev/code_style.rst
+++ b/libc/docs/dev/code_style.rst
@@ -285,7 +285,7 @@ Example usage:
} // LIBC_NAMESPACE_DECL
Having hidden visibility on the namespace ensures extern declarations in a given TU
-have known visibility and never generate GOT indirextions. The attribute guarantees
+have known visibility and never generate GOT indirections. The attribute guarantees
this independently of global compile options and build systems.
..
diff --git a/libc/docs/dev/source_tree_layout.rst b/libc/docs/dev/source_tree_layout.rst
index 62c0434a0b2aa..8430a7478cf05 100644
--- a/libc/docs/dev/source_tree_layout.rst
+++ b/libc/docs/dev/source_tree_layout.rst
@@ -22,7 +22,7 @@ directories::
- test
- utils
-Each of these directories is explained breifly below.
+Each of these directories is explained briefly below.
The ``benchmarks`` directory
----------------------------
``````````
</details>
https://github.com/llvm/llvm-project/pull/139852
More information about the libc-commits
mailing list