Fix a typo to silent lintian (Closes: #1018770)

This commit is contained in:
Sylvestre Ledru 2022-08-30 16:10:59 +02:00
parent 745b679791
commit 25af6d2de8
3 changed files with 27 additions and 0 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
llvm-toolchain-14 (1:14.0.6-3) UNRELEASED; urgency=medium
* Fix a typo to silent lintian (Closes: #1018770)
-- Sylvestre Ledru <sylvestre@debian.org> Tue, 30 Aug 2022 16:10:33 +0200
llvm-toolchain-14 (1:14.0.6-2) unstable; urgency=medium
[ Sam McCall ]

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

@ -0,0 +1,20 @@
Index: llvm-toolchain-14-14.0.6/llvm/include/llvm/Target/TargetMachine.h
===================================================================
--- llvm-toolchain-14-14.0.6.orig/llvm/include/llvm/Target/TargetMachine.h
+++ llvm-toolchain-14-14.0.6/llvm/include/llvm/Target/TargetMachine.h
@@ -439,13 +439,13 @@ public:
raw_pwrite_stream &, raw_pwrite_stream *,
CodeGenFileType, CGPassBuilderOption,
PassInstrumentationCallbacks *) {
- return make_error<StringError>("buildCodeGenPipeline is not overriden",
+ return make_error<StringError>("buildCodeGenPipeline is not overridden",
inconvertibleErrorCode());
}
virtual std::pair<StringRef, bool> getPassNameFromLegacyName(StringRef) {
llvm_unreachable(
- "getPassNameFromLegacyName parseMIRPipeline is not overriden");
+ "getPassNameFromLegacyName parseMIRPipeline is not overridden");
}
/// Add passes to the specified pass manager to get machine code emitted with

View File

@ -151,3 +151,4 @@ python3-scan-build.py
revert-update-doc.diff
fix-typo.diff
ubuntu-kinetic.patch
fix-typo-1018770.diff