Fix a typo in an header (closes: #1005195)

This commit is contained in:
Sylvestre Ledru 2022-02-08 21:40:25 +01:00
parent 0819620085
commit 1f7e69e458
3 changed files with 29 additions and 0 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
llvm-toolchain-13 (1:13.0.1-3) UNRELEASED; urgency=medium
* Fix a typo in an header (closes: #1005195)
-- Sylvestre Ledru <sylvestre@debian.org> Tue, 08 Feb 2022 21:39:18 +0100
llvm-toolchain-13 (1:13.0.1-2) unstable; urgency=medium
* mlir: use the cmake option to avoid installing object files

22
debian/patches/fix-typo.diff vendored Normal file
View File

@ -0,0 +1,22 @@
Index: llvm-toolchain-13-13.0.1/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h
===================================================================
--- llvm-toolchain-13-13.0.1.orig/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h
+++ llvm-toolchain-13-13.0.1/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h
@@ -79,7 +79,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
@@ -110,7 +110,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

View File

@ -152,3 +152,4 @@ compilerrt-builtins-arch-fix-armhf.diff
compilerrt-build-scudo-standalone-option.diff
use-gold-for-compiler-rt-when-set.diff
wasm-ld-path.diff
fix-typo.diff