[libc-commits] [libc] [libc][NFC] Fix typo 'implemenation' in comments (PR #233089)

via libc-commits libc-commits at lists.llvm.org
Sat Oct 17 07:38:26 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Shivansh Chaudhary (Shivanshyyy)

<details>
<summary>Changes</summary>

   Fix the misspelling "implemenation" -> "implementation" in comments in
   libc/src/__support/mathvec/*.h and libc/src/string/string_length.h.
   No functional change.

---
Full diff: https://github.com/llvm/llvm-project/pull/233089.diff


32 Files Affected:

- (modified) libc/src/__support/mathvec/acosf.h (+1-1) 
- (modified) libc/src/__support/mathvec/acoshf.h (+1-1) 
- (modified) libc/src/__support/mathvec/acospif.h (+1-1) 
- (modified) libc/src/__support/mathvec/asinf.h (+1-1) 
- (modified) libc/src/__support/mathvec/asinhf.h (+1-1) 
- (modified) libc/src/__support/mathvec/asinpif.h (+1-1) 
- (modified) libc/src/__support/mathvec/atanf.h (+1-1) 
- (modified) libc/src/__support/mathvec/atanhf.h (+1-1) 
- (modified) libc/src/__support/mathvec/cbrtf.h (+1-1) 
- (modified) libc/src/__support/mathvec/cosf.h (+1-1) 
- (modified) libc/src/__support/mathvec/coshf.h (+1-1) 
- (modified) libc/src/__support/mathvec/cospif.h (+1-1) 
- (modified) libc/src/__support/mathvec/erff.h (+1-1) 
- (modified) libc/src/__support/mathvec/exp10f.h (+1-1) 
- (modified) libc/src/__support/mathvec/exp10m1f.h (+1-1) 
- (modified) libc/src/__support/mathvec/exp2f.h (+1-1) 
- (modified) libc/src/__support/mathvec/exp2m1f.h (+1-1) 
- (modified) libc/src/__support/mathvec/expf.h (+1-1) 
- (modified) libc/src/__support/mathvec/expm1f.h (+1-1) 
- (modified) libc/src/__support/mathvec/log10f.h (+1-1) 
- (modified) libc/src/__support/mathvec/log1pf.h (+1-1) 
- (modified) libc/src/__support/mathvec/log2f.h (+1-1) 
- (modified) libc/src/__support/mathvec/logf.h (+1-1) 
- (modified) libc/src/__support/mathvec/rsqrtf.h (+1-1) 
- (modified) libc/src/__support/mathvec/sinf.h (+1-1) 
- (modified) libc/src/__support/mathvec/sinhf.h (+1-1) 
- (modified) libc/src/__support/mathvec/sinpif.h (+1-1) 
- (modified) libc/src/__support/mathvec/sqrtf.h (+1-1) 
- (modified) libc/src/__support/mathvec/tanf.h (+1-1) 
- (modified) libc/src/__support/mathvec/tanhf.h (+1-1) 
- (modified) libc/src/__support/mathvec/tanpif.h (+1-1) 
- (modified) libc/src/string/string_length.h (+1-1) 


``````````diff
diff --git a/libc/src/__support/mathvec/acosf.h b/libc/src/__support/mathvec/acosf.h
index 6e6f0314900dff..2ee24d77b94971 100644
--- a/libc/src/__support/mathvec/acosf.h
+++ b/libc/src/__support/mathvec/acosf.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD acos.
+/// This file contains the implementation for single-precision SIMD acos.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/acoshf.h b/libc/src/__support/mathvec/acoshf.h
index 5bbb00aac43bd8..3b39396e10ac45 100644
--- a/libc/src/__support/mathvec/acoshf.h
+++ b/libc/src/__support/mathvec/acoshf.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD acosh.
+/// This file contains the implementation for single-precision SIMD acosh.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/acospif.h b/libc/src/__support/mathvec/acospif.h
index 55252f42714170..7e7d97b539caa3 100644
--- a/libc/src/__support/mathvec/acospif.h
+++ b/libc/src/__support/mathvec/acospif.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD acospi.
+/// This file contains the implementation for single-precision SIMD acospi.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/asinf.h b/libc/src/__support/mathvec/asinf.h
index d06df07e5a9a4d..e9ee5a3850dbc6 100644
--- a/libc/src/__support/mathvec/asinf.h
+++ b/libc/src/__support/mathvec/asinf.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD asin.
+/// This file contains the implementation for single-precision SIMD asin.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/asinhf.h b/libc/src/__support/mathvec/asinhf.h
index 82e6dc69406d1c..559ced53fe800f 100644
--- a/libc/src/__support/mathvec/asinhf.h
+++ b/libc/src/__support/mathvec/asinhf.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD asinh.
+/// This file contains the implementation for single-precision SIMD asinh.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/asinpif.h b/libc/src/__support/mathvec/asinpif.h
index 4ee9d0df1ea571..40a70f8354265c 100644
--- a/libc/src/__support/mathvec/asinpif.h
+++ b/libc/src/__support/mathvec/asinpif.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD asinpi.
+/// This file contains the implementation for single-precision SIMD asinpi.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/atanf.h b/libc/src/__support/mathvec/atanf.h
index 37ad933c9977bc..6af4d3a9bcc9a6 100644
--- a/libc/src/__support/mathvec/atanf.h
+++ b/libc/src/__support/mathvec/atanf.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD atan.
+/// This file contains the implementation for single-precision SIMD atan.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/atanhf.h b/libc/src/__support/mathvec/atanhf.h
index 6d0e238d2d7959..043df313d6f89e 100644
--- a/libc/src/__support/mathvec/atanhf.h
+++ b/libc/src/__support/mathvec/atanhf.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD atanh.
+/// This file contains the implementation for single-precision SIMD atanh.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/cbrtf.h b/libc/src/__support/mathvec/cbrtf.h
index 835ff224200264..d3e9a02a5df735 100644
--- a/libc/src/__support/mathvec/cbrtf.h
+++ b/libc/src/__support/mathvec/cbrtf.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD cbrt.
+/// This file contains the implementation for single-precision SIMD cbrt.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/cosf.h b/libc/src/__support/mathvec/cosf.h
index 0d3cbe29228987..7e1d99c0128280 100644
--- a/libc/src/__support/mathvec/cosf.h
+++ b/libc/src/__support/mathvec/cosf.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD cos.
+/// This file contains the implementation for single-precision SIMD cos.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/coshf.h b/libc/src/__support/mathvec/coshf.h
index d5a5c0ebf1f9b3..7fe5d266ffa79a 100644
--- a/libc/src/__support/mathvec/coshf.h
+++ b/libc/src/__support/mathvec/coshf.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD cosh.
+/// This file contains the implementation for single-precision SIMD cosh.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/cospif.h b/libc/src/__support/mathvec/cospif.h
index d638eff6d5304b..b24c0a3bd2c5af 100644
--- a/libc/src/__support/mathvec/cospif.h
+++ b/libc/src/__support/mathvec/cospif.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD cospi.
+/// This file contains the implementation for single-precision SIMD cospi.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/erff.h b/libc/src/__support/mathvec/erff.h
index 6b272013bf9002..5b0782c088498d 100644
--- a/libc/src/__support/mathvec/erff.h
+++ b/libc/src/__support/mathvec/erff.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD erf.
+/// This file contains the implementation for single-precision SIMD erf.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/exp10f.h b/libc/src/__support/mathvec/exp10f.h
index d22baf16b40ac9..09df5d87bc0e92 100644
--- a/libc/src/__support/mathvec/exp10f.h
+++ b/libc/src/__support/mathvec/exp10f.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD exp10.
+/// This file contains the implementation for single-precision SIMD exp10.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/exp10m1f.h b/libc/src/__support/mathvec/exp10m1f.h
index 07f338ff6e8259..67b968fcea13eb 100644
--- a/libc/src/__support/mathvec/exp10m1f.h
+++ b/libc/src/__support/mathvec/exp10m1f.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD exp10m1.
+/// This file contains the implementation for single-precision SIMD exp10m1.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/exp2f.h b/libc/src/__support/mathvec/exp2f.h
index 848b9647dd6126..eb73ce1c94e822 100644
--- a/libc/src/__support/mathvec/exp2f.h
+++ b/libc/src/__support/mathvec/exp2f.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD exp2.
+/// This file contains the implementation for single-precision SIMD exp2.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/exp2m1f.h b/libc/src/__support/mathvec/exp2m1f.h
index b4ae0f6639e67e..44bd4a66760388 100644
--- a/libc/src/__support/mathvec/exp2m1f.h
+++ b/libc/src/__support/mathvec/exp2m1f.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD exp2m1.
+/// This file contains the implementation for single-precision SIMD exp2m1.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/expf.h b/libc/src/__support/mathvec/expf.h
index 95f5a5dc768743..b78e99ada5927c 100644
--- a/libc/src/__support/mathvec/expf.h
+++ b/libc/src/__support/mathvec/expf.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD exp.
+/// This file contains the implementation for single-precision SIMD exp.
 ///
 //===----------------------------------------------------------------------===//
 #ifndef LLVM_LIBC_SRC___SUPPORT_MATHVEC_EXPF_H
diff --git a/libc/src/__support/mathvec/expm1f.h b/libc/src/__support/mathvec/expm1f.h
index 9e16a5a802b2c7..edf98a0ea36d16 100644
--- a/libc/src/__support/mathvec/expm1f.h
+++ b/libc/src/__support/mathvec/expm1f.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD expm1.
+/// This file contains the implementation for single-precision SIMD expm1.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/log10f.h b/libc/src/__support/mathvec/log10f.h
index 48c15bd7041a08..616a7a1ff24b0e 100644
--- a/libc/src/__support/mathvec/log10f.h
+++ b/libc/src/__support/mathvec/log10f.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD log10.
+/// This file contains the implementation for single-precision SIMD log10.
 ///
 //===----------------------------------------------------------------------===//
 #ifndef LLVM_LIBC_SRC___SUPPORT_MATHVEC_LOG10F_H
diff --git a/libc/src/__support/mathvec/log1pf.h b/libc/src/__support/mathvec/log1pf.h
index ed097c0dcc6fe6..f58db55d46c729 100644
--- a/libc/src/__support/mathvec/log1pf.h
+++ b/libc/src/__support/mathvec/log1pf.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD log1p.
+/// This file contains the implementation for single-precision SIMD log1p.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/log2f.h b/libc/src/__support/mathvec/log2f.h
index 6101bd989ff609..d11fd8ccb628d6 100644
--- a/libc/src/__support/mathvec/log2f.h
+++ b/libc/src/__support/mathvec/log2f.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD log2.
+/// This file contains the implementation for single-precision SIMD log2.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/logf.h b/libc/src/__support/mathvec/logf.h
index 0ff0c22fe59afe..91fe8a632910ca 100644
--- a/libc/src/__support/mathvec/logf.h
+++ b/libc/src/__support/mathvec/logf.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD log.
+/// This file contains the implementation for single-precision SIMD log.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/rsqrtf.h b/libc/src/__support/mathvec/rsqrtf.h
index 8018c7f96aa343..a912aad1b390c4 100644
--- a/libc/src/__support/mathvec/rsqrtf.h
+++ b/libc/src/__support/mathvec/rsqrtf.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD rsqrt.
+/// This file contains the implementation for single-precision SIMD rsqrt.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/sinf.h b/libc/src/__support/mathvec/sinf.h
index e99356165f6d3c..7291e884c889fd 100644
--- a/libc/src/__support/mathvec/sinf.h
+++ b/libc/src/__support/mathvec/sinf.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD sin.
+/// This file contains the implementation for single-precision SIMD sin.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/sinhf.h b/libc/src/__support/mathvec/sinhf.h
index 122c7d990989d9..47533a516d907f 100644
--- a/libc/src/__support/mathvec/sinhf.h
+++ b/libc/src/__support/mathvec/sinhf.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD sinh.
+/// This file contains the implementation for single-precision SIMD sinh.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/sinpif.h b/libc/src/__support/mathvec/sinpif.h
index a5898702e10146..268b24863d7666 100644
--- a/libc/src/__support/mathvec/sinpif.h
+++ b/libc/src/__support/mathvec/sinpif.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD sinpi.
+/// This file contains the implementation for single-precision SIMD sinpi.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/sqrtf.h b/libc/src/__support/mathvec/sqrtf.h
index c092cb2bfd2f89..30e621a2709a21 100644
--- a/libc/src/__support/mathvec/sqrtf.h
+++ b/libc/src/__support/mathvec/sqrtf.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD sqrt.
+/// This file contains the implementation for single-precision SIMD sqrt.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/tanf.h b/libc/src/__support/mathvec/tanf.h
index 08b293e0b9adea..e5755df32fc1f2 100644
--- a/libc/src/__support/mathvec/tanf.h
+++ b/libc/src/__support/mathvec/tanf.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD tan.
+/// This file contains the implementation for single-precision SIMD tan.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/__support/mathvec/tanhf.h b/libc/src/__support/mathvec/tanhf.h
index a06d09f6a32ba4..b358a6bdfc684f 100644
--- a/libc/src/__support/mathvec/tanhf.h
+++ b/libc/src/__support/mathvec/tanhf.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD tanh.
+/// This file contains the implementation for single-precision SIMD tanh.
 ///
 //===----------------------------------------------------------------------===//
 #ifndef LLVM_LIBC_SRC___SUPPORT_MATHVEC_TANHF_H
diff --git a/libc/src/__support/mathvec/tanpif.h b/libc/src/__support/mathvec/tanpif.h
index 7e02d4f64f0548..19498477c8ba2e 100644
--- a/libc/src/__support/mathvec/tanpif.h
+++ b/libc/src/__support/mathvec/tanpif.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 ///
 /// \file
-/// This file contains the implemenation for single-precision SIMD tanpi.
+/// This file contains the implementation for single-precision SIMD tanpi.
 ///
 //===----------------------------------------------------------------------===//
 
diff --git a/libc/src/string/string_length.h b/libc/src/string/string_length.h
index 089c76b8eab96b..8e9aa6bb5bc6d2 100644
--- a/libc/src/string/string_length.h
+++ b/libc/src/string/string_length.h
@@ -195,7 +195,7 @@ find_first_character(const unsigned char *src, unsigned char ch,
 // 4. arch_vector - hand-coded per architecture. Possibly in asm, or with
 // intrinsics.
 //
-// The called implemenation is chosen at build-time by setting
+// The called implementation is chosen at build-time by setting
 // LIBC_CONF_{FUNC}_IMPL in config.json
 static constexpr auto &string_length_impl =
     LIBC_COPT_STRING_LENGTH_IMPL::string_length;

``````````

</details>


https://github.com/llvm/llvm-project/pull/233089


More information about the libc-commits mailing list