Skip to content

Commit a31d7d1

Browse files
authored
[NFC] Typo in __clang_hip_cmath.h (#139892)
ambibuity -> ambiguity
1 parent 8732d0f commit a31d7d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Headers/__clang_hip_cmath.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ class __promote : public __promote_imp<_A1, _A2, _A3> {};
448448
} // namespace __hip
449449

450450
// __HIP_OVERLOAD1 is used to resolve function calls with integer argument to
451-
// avoid compilation error due to ambibuity. e.g. floor(5) is resolved with
451+
// avoid compilation error due to ambiguity. e.g. floor(5) is resolved with
452452
// floor(double).
453453
#define __HIP_OVERLOAD1(__retty, __fn) \
454454
template <typename __T> \
@@ -459,7 +459,7 @@ class __promote : public __promote_imp<_A1, _A2, _A3> {};
459459
}
460460

461461
// __HIP_OVERLOAD2 is used to resolve function calls with mixed float/double
462-
// or integer argument to avoid compilation error due to ambibuity. e.g.
462+
// or integer argument to avoid compilation error due to ambiguity. e.g.
463463
// max(5.0f, 6.0) is resolved with max(double, double).
464464
#if __cplusplus >= 201103L
465465
#define __HIP_OVERLOAD2(__retty, __fn) \

0 commit comments

Comments
 (0)