fix-typo
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sat, 25 Jun 2022 07:56:23 +0000 (08:56 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Sat, 25 Jun 2022 07:56:23 +0000 (08:56 +0100)
===================================================================

Gbp-Pq: Name fix-typo.diff

llvm/include/llvm/ADT/IntrusiveRefCntPtr.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