Fix more typo

This commit is contained in:
Sylvestre Ledru 2022-10-07 15:57:43 +02:00
parent 649278148f
commit 26d4b8da05

View File

@ -1,8 +1,8 @@
Index: llvm-toolchain-13-13.0.1/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h Index: llvm-toolchain-14-14.0.6/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h
=================================================================== ===================================================================
--- llvm-toolchain-13-13.0.1.orig/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h --- llvm-toolchain-14-14.0.6.orig/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h
+++ llvm-toolchain-13-13.0.1/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h +++ llvm-toolchain-14-14.0.6/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h
@@ -79,7 +79,7 @@ protected: @@ -84,7 +84,7 @@ protected:
#ifndef NDEBUG #ifndef NDEBUG
~RefCountedBase() { ~RefCountedBase() {
assert(RefCount == 0 && assert(RefCount == 0 &&
@ -11,7 +11,7 @@ Index: llvm-toolchain-13-13.0.1/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h
} }
#else #else
// Default the destructor in release builds, A trivial destructor may enable // Default the destructor in release builds, A trivial destructor may enable
@@ -110,7 +110,7 @@ protected: @@ -115,7 +115,7 @@ protected:
#ifndef NDEBUG #ifndef NDEBUG
~ThreadSafeRefCountedBase() { ~ThreadSafeRefCountedBase() {
assert(RefCount == 0 && assert(RefCount == 0 &&
@ -20,3 +20,16 @@ Index: llvm-toolchain-13-13.0.1/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h
} }
#else #else
// Default the destructor in release builds, A trivial destructor may enable // Default the destructor in release builds, A trivial destructor may enable
Index: llvm-toolchain-14-14.0.6/llvm/include/llvm/Support/CommandLine.h
===================================================================
--- llvm-toolchain-14-14.0.6.orig/llvm/include/llvm/Support/CommandLine.h
+++ llvm-toolchain-14-14.0.6/llvm/include/llvm/Support/CommandLine.h
@@ -1308,7 +1308,7 @@ template <> struct applicator<Formatting
template <> struct applicator<MiscFlags> {
static void opt(MiscFlags MF, Option &O) {
assert((MF != Grouping || O.ArgStr.size() == 1) &&
- "cl::Grouping can only apply to single charater Options.");
+ "cl::Grouping can only apply to single character Options.");
O.setMiscFlag(MF);
}
};