From 1c99ce8e514aa37bb777fd689665f8ea4dd79ea0 Mon Sep 17 00:00:00 2001 From: LLVM Packaging Team Date: Sun, 1 Jan 2023 14:42:15 +0000 Subject: [PATCH] fix-typo =================================================================== Gbp-Pq: Name fix-typo.diff --- llvm/include/llvm/ADT/IntrusiveRefCntPtr.h | 4 ++-- llvm/include/llvm/Support/CommandLine.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h b/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h index 975535bb56..e41eb0639c 100644 --- a/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h +++ b/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h @@ -84,7 +84,7 @@ protected: #ifndef NDEBUG ~RefCountedBase() { assert(RefCount == 0 && - "Destruction occured when there are still references to this."); + "Destruction occurred when there are still references to this."); } #else // Default the destructor in release builds, A trivial destructor may enable @@ -115,7 +115,7 @@ protected: #ifndef NDEBUG ~ThreadSafeRefCountedBase() { assert(RefCount == 0 && - "Destruction occured when there are still references to this."); + "Destruction occurred when there are still references to this."); } #else // Default the destructor in release builds, A trivial destructor may enable diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h index c8e29ac425..a954edf9f1 100644 --- a/llvm/include/llvm/Support/CommandLine.h +++ b/llvm/include/llvm/Support/CommandLine.h @@ -1308,7 +1308,7 @@ template <> struct applicator { template <> struct applicator { 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); } }; -- 2.30.2