From: LLVM Packaging Team Date: Fri, 17 Feb 2023 11:57:29 +0000 (+0000) Subject: fix-typo X-Git-Tag: archive/raspbian/1%14.0.6-12+rpi1^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ce0274226fc002df349baeb1e982d21ad38cafce;p=llvm-toolchain-14.git fix-typo =================================================================== Gbp-Pq: Name fix-typo.diff --- 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); } };