[libc-commits] [libc] c5229e9 - [libc] Fix typos in documentation (#139852)

via libc-commits libc-commits at lists.llvm.org
Wed May 14 07:14:47 PDT 2025


Author: Kazu Hirata
Date: 2025-05-14T07:14:43-07:00
New Revision: c5229e92cefd5d25ffdb0dd5264e67e8ce0cdd5f

URL: https://github.com/llvm/llvm-project/commit/c5229e92cefd5d25ffdb0dd5264e67e8ce0cdd5f
DIFF: https://github.com/llvm/llvm-project/commit/c5229e92cefd5d25ffdb0dd5264e67e8ce0cdd5f.diff

LOG: [libc] Fix typos in documentation (#139852)

Added: 
    

Modified: 
    libc/docs/configure.rst
    libc/docs/dev/code_style.rst
    libc/docs/dev/source_tree_layout.rst

Removed: 
    


################################################################################
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
 ----------------------------


        


More information about the libc-commits mailing list