From 26d4b8da0553a7de865acbc8c60dc40a6f76d21d Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 7 Oct 2022 15:57:43 +0200 Subject: [PATCH] Fix more typo --- debian/patches/fix-typo.diff | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/debian/patches/fix-typo.diff b/debian/patches/fix-typo.diff index 42ba97da..4692f8b3 100644 --- a/debian/patches/fix-typo.diff +++ b/debian/patches/fix-typo.diff @@ -1,8 +1,8 @@ -Index: llvm-toolchain-13-13.0.1/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h +Index: llvm-toolchain-14-14.0.6/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: +--- llvm-toolchain-14-14.0.6.orig/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h ++++ llvm-toolchain-14-14.0.6/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h +@@ -84,7 +84,7 @@ protected: #ifndef NDEBUG ~RefCountedBase() { assert(RefCount == 0 && @@ -11,7 +11,7 @@ Index: llvm-toolchain-13-13.0.1/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h } #else // Default the destructor in release builds, A trivial destructor may enable -@@ -110,7 +110,7 @@ protected: +@@ -115,7 +115,7 @@ protected: #ifndef NDEBUG ~ThreadSafeRefCountedBase() { assert(RefCount == 0 && @@ -20,3 +20,16 @@ Index: llvm-toolchain-13-13.0.1/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h } #else // Default the destructor in release builds, A trivial destructor may enable +Index: llvm-toolchain-14-14.0.6/llvm/include/llvm/Support/CommandLine.h +=================================================================== +--- llvm-toolchain-14-14.0.6.orig/llvm/include/llvm/Support/CommandLine.h ++++ llvm-toolchain-14-14.0.6/llvm/include/llvm/Support/CommandLine.h +@@ -1308,7 +1308,7 @@ template <> struct applicator 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); + } + };