Skip to content

Commit 90b1e5b

Browse files
authored
[llvm][NFC]Fix a few typos (#110844)
1 parent 3ac2423 commit 90b1e5b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

llvm/include/llvm/Support/ConvertUTF.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
4848
Conversions between UTF32, UTF-16, and UTF-8. Header file.
4949
50-
Several funtions are included here, forming a complete set of
50+
Several functions are included here, forming a complete set of
5151
conversions between the three formats. UTF-7 is not included
5252
here, but is handled in a separate source file.
5353

llvm/include/llvm/Support/MathExtras.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ std::enable_if_t<std::is_signed_v<T>, T> AddOverflow(T X, T Y, T &Result) {
723723
}
724724

725725
/// Subtract two signed integers, computing the two's complement truncated
726-
/// result, returning true if an overflow ocurred.
726+
/// result, returning true if an overflow occurred.
727727
template <typename T>
728728
std::enable_if_t<std::is_signed_v<T>, T> SubOverflow(T X, T Y, T &Result) {
729729
#if __has_builtin(__builtin_sub_overflow)
@@ -749,7 +749,7 @@ std::enable_if_t<std::is_signed_v<T>, T> SubOverflow(T X, T Y, T &Result) {
749749
}
750750

751751
/// Multiply two signed integers, computing the two's complement truncated
752-
/// result, returning true if an overflow ocurred.
752+
/// result, returning true if an overflow occurred.
753753
template <typename T>
754754
std::enable_if_t<std::is_signed_v<T>, T> MulOverflow(T X, T Y, T &Result) {
755755
#if __has_builtin(__builtin_mul_overflow)

0 commit comments

Comments
 (0)