[llvm] edbde15 - Fix typos - show in the binary
Sylvestre Ledru via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 7 06:57:38 PDT 2022
Author: Sylvestre Ledru
Date: 2022-10-07T15:57:15+02:00
New Revision: edbde15f46caa23640f6fc182814adb207c3aba9
URL: https://github.com/llvm/llvm-project/commit/edbde15f46caa23640f6fc182814adb207c3aba9
DIFF: https://github.com/llvm/llvm-project/commit/edbde15f46caa23640f6fc182814adb207c3aba9.diff
LOG: Fix typos - show in the binary
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1018770
Added:
Modified:
llvm/include/llvm/Support/CommandLine.h
llvm/include/llvm/Target/TargetMachine.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h
index 0788308577f59..2951e8ecb8b9d 100644
--- a/llvm/include/llvm/Support/CommandLine.h
+++ b/llvm/include/llvm/Support/CommandLine.h
@@ -1290,7 +1290,7 @@ template <> struct applicator<FormattingFlags> {
template <> struct applicator<MiscFlags> {
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 bf37ad7010ec7..c86b2f27d8156 100644
--- a/llvm/include/llvm/Target/TargetMachine.h
+++ b/llvm/include/llvm/Target/TargetMachine.h
@@ -447,13 +447,13 @@ class LLVMTargetMachine : public TargetMachine {
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
More information about the llvm-commits
mailing list