[libc-commits] [libc] [libc] Fix typos in documentation (PR #139852)
Kazu Hirata via libc-commits
libc-commits at lists.llvm.org
Tue May 13 23:40:44 PDT 2025
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/139852
None
>From 96299e918a4395e603d8f2da45c4926f94f495ff Mon Sep 17 00:00:00 2001
From: Kazu Hirata <kazu at google.com>
Date: Mon, 12 May 2025 21:00:05 -0700
Subject: [PATCH] [libc] Fix typos in documentation
---
libc/docs/configure.rst | 2 +-
libc/docs/dev/code_style.rst | 2 +-
libc/docs/dev/source_tree_layout.rst | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
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