[clang] a31d7d1 - [NFC] Typo in __clang_hip_cmath.h (#139892)

via cfe-commits cfe-commits at lists.llvm.org
Wed May 14 06:19:12 PDT 2025


Author: Juan Manuel Martinez CaamaƱo
Date: 2025-05-14T15:19:06+02:00
New Revision: a31d7d1a2480708e665bd8556a5f0013f6350322

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

LOG: [NFC] Typo in __clang_hip_cmath.h (#139892)

ambibuity -> ambiguity

Added: 
    

Modified: 
    clang/lib/Headers/__clang_hip_cmath.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/Headers/__clang_hip_cmath.h b/clang/lib/Headers/__clang_hip_cmath.h
index 7d982ad9af7ee..acb46c81db58a 100644
--- a/clang/lib/Headers/__clang_hip_cmath.h
+++ b/clang/lib/Headers/__clang_hip_cmath.h
@@ -448,7 +448,7 @@ class __promote : public __promote_imp<_A1, _A2, _A3> {};
 } // namespace __hip
 
 // __HIP_OVERLOAD1 is used to resolve function calls with integer argument to
-// avoid compilation error due to ambibuity. e.g. floor(5) is resolved with
+// avoid compilation error due to ambiguity. e.g. floor(5) is resolved with
 // floor(double).
 #define __HIP_OVERLOAD1(__retty, __fn)                                         \
   template <typename __T>                                                      \
@@ -459,7 +459,7 @@ class __promote : public __promote_imp<_A1, _A2, _A3> {};
   }
 
 // __HIP_OVERLOAD2 is used to resolve function calls with mixed float/double
-// or integer argument to avoid compilation error due to ambibuity. e.g.
+// or integer argument to avoid compilation error due to ambiguity. e.g.
 // max(5.0f, 6.0) is resolved with max(double, double).
 #if __cplusplus >= 201103L
 #define __HIP_OVERLOAD2(__retty, __fn)                                         \


        


More information about the cfe-commits mailing list