From edbde15f46caa23640f6fc182814adb207c3aba9 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 7 Oct 2022 15:56:21 +0200 Subject: [PATCH] Fix typos - show in the binary See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1018770 --- llvm/include/llvm/Support/CommandLine.h | 2 +- llvm/include/llvm/Target/TargetMachine.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h index 0788308..2951e8e 100644 --- a/llvm/include/llvm/Support/CommandLine.h +++ b/llvm/include/llvm/Support/CommandLine.h @@ -1290,7 +1290,7 @@ template <> struct applicator { template <> 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); } }; diff --git a/llvm/include/llvm/Target/TargetMachine.h b/llvm/include/llvm/Target/TargetMachine.h index bf37ad7..c86b2f27 100644 --- a/llvm/include/llvm/Target/TargetMachine.h +++ b/llvm/include/llvm/Target/TargetMachine.h @@ -447,13 +447,13 @@ public: raw_pwrite_stream &, raw_pwrite_stream *, CodeGenFileType, CGPassBuilderOption, PassInstrumentationCallbacks *) { - return make_error("buildCodeGenPipeline is not overriden", + return make_error("buildCodeGenPipeline is not overridden", inconvertibleErrorCode()); } virtual std::pair 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 -- 2.7.4