[clang] [NFC] Typo in __clang_hip_cmath.h (PR #139892)
Juan Manuel Martinez CaamaƱo via cfe-commits
cfe-commits at lists.llvm.org
Wed May 14 05:43:23 PDT 2025
https://github.com/jmmartinez created https://github.com/llvm/llvm-project/pull/139892
ambibuity -> ambiguity
>From 5509f15dde030de212660a394d9b98530eda3681 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Juan=20Manuel=20Martinez=20Caama=C3=B1o?= <juamarti at amd.com>
Date: Wed, 14 May 2025 13:40:42 +0200
Subject: [PATCH] [NFC] Typo in __clang_hip_cmath.h
---
clang/lib/Headers/__clang_hip_cmath.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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