fix-typo
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sun, 1 Jan 2023 14:42:15 +0000 (14:42 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Sun, 1 Jan 2023 14:42:15 +0000 (14:42 +0000)
===================================================================

Gbp-Pq: Name fix-typo.diff

llvm/include/llvm/ADT/IntrusiveRefCntPtr.h
llvm/include/llvm/Support/CommandLine.h

index 975535bb5676083b79cedd93892b55c9db21e022..e41eb0639ce30eb38fef8ac531571ae209e21bd5 100644 (file)
@@ -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
index c8e29ac425591d7fea09087c3e163d7d7006d0cf..a954edf9f1ca7222686c9bdaf133a8eb46a0190d 100644 (file)
@@ -1308,7 +1308,7 @@ template <> struct applicator<FormattingFlags> {
 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);
   }
 };