Skip to content

Commit e87f94a

Browse files
authored
[llvm-project] Fix typos mutli and mutliple. NFC. (#122880)
1 parent b87fdd9 commit e87f94a

File tree

17 files changed

+29
-29
lines changed

17 files changed

+29
-29
lines changed

clang-tools-extra/clang-tidy/modernize/UseAutoCheck.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ static void ignoreTypeLocClasses(
342342
Loc = Loc.getNextTypeLoc();
343343
}
344344

345-
static bool isMutliLevelPointerToTypeLocClasses(
345+
static bool isMultiLevelPointerToTypeLocClasses(
346346
TypeLoc Loc,
347347
std::initializer_list<TypeLoc::TypeLocClass> const &LocClasses) {
348348
ignoreTypeLocClasses(Loc, {TypeLoc::Paren, TypeLoc::Qualified});
@@ -424,7 +424,7 @@ void UseAutoCheck::replaceExpr(
424424

425425
auto Diag = diag(Range.getBegin(), Message);
426426

427-
bool ShouldReplenishVariableName = isMutliLevelPointerToTypeLocClasses(
427+
bool ShouldReplenishVariableName = isMultiLevelPointerToTypeLocClasses(
428428
TSI->getTypeLoc(), {TypeLoc::FunctionProto, TypeLoc::ConstantArray});
429429

430430
// Space after 'auto' to handle cases where the '*' in the pointer type is

clang/lib/Basic/SourceManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,7 @@ unsigned SourceManager::getPresumedColumnNumber(SourceLocation Loc,
12221222
return PLoc.getColumn();
12231223
}
12241224

1225-
// Check if mutli-byte word x has bytes between m and n, included. This may also
1225+
// Check if multi-byte word x has bytes between m and n, included. This may also
12261226
// catch bytes equal to n + 1.
12271227
// The returned value holds a 0x80 at each byte position that holds a match.
12281228
// see http://graphics.stanford.edu/~seander/bithacks.html#HasBetweenInWord

flang/test/HLFIR/associate-codegen.fir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ func.func @_QPtest_multiple_expr_uses_inside_elemental() {
372372
// CHECK: return
373373
// CHECK: }
374374

375-
// Verify that we properly recognize mutliple consequent hlfir.associate using
375+
// Verify that we properly recognize multiple consequent hlfir.associate using
376376
// the same result of hlfir.elemental.
377377
func.func @_QPtest_multitple_associates_for_same_expr() {
378378
%c1 = arith.constant 1 : index

libc/test/src/unistd/getopt_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ TEST_F(LlvmLibcGetoptTest, ParseArgInNext) {
155155
EXPECT_EQ(test_globals::optind, 3);
156156
}
157157

158-
TEST_F(LlvmLibcGetoptTest, ParseMutliInOne) {
158+
TEST_F(LlvmLibcGetoptTest, ParseMultiInOne) {
159159
array<char *, 3> argv{"prog"_c, "-abc"_c, nullptr};
160160

161161
EXPECT_EQ(LIBC_NAMESPACE::getopt(2, argv.data(), "abc"), (int)'a');

lldb/source/Commands/CommandObjectMemory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1737,7 +1737,7 @@ class CommandObjectMemoryRegion : public CommandObjectParsed {
17371737

17381738
// It is important that we track the address used to request the region as
17391739
// this will give the correct section name in the case that regions overlap.
1740-
// On Windows we get mutliple regions that start at the same place but are
1740+
// On Windows we get multiple regions that start at the same place but are
17411741
// different sizes and refer to different sections.
17421742
std::vector<std::pair<lldb_private::MemoryRegionInfo, lldb::addr_t>>
17431743
region_list;

lldb/source/Target/StructuredDataPlugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ ProcessSP StructuredDataPlugin::GetProcess() const {
4343
}
4444

4545
void StructuredDataPlugin::InitializeBasePluginForDebugger(Debugger &debugger) {
46-
// Create our mutliword command anchor if it doesn't already exist.
46+
// Create our multiword command anchor if it doesn't already exist.
4747
auto &interpreter = debugger.GetCommandInterpreter();
4848
if (!interpreter.GetCommandObject("plugin structured-data")) {
4949
// Find the parent command.

lldb/unittests/Target/RegisterFlagsTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ TEST(RegisterFlagsTest, DumpEnums) {
274274
.DumpEnums(5),
275275
"A: 0 = an_enumerator");
276276

277-
// Mutliple values can go on the same line, up to the width.
277+
// Multiple values can go on the same line, up to the width.
278278
FieldEnum more_enum("long_enum",
279279
{{0, "an_enumerator"},
280280
{1, "another_enumerator"},

llvm/include/llvm/IR/DebugInfoMetadata.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2391,7 +2391,7 @@ DILocation::cloneWithDiscriminator(unsigned Discriminator) const {
23912391
DIScope *Scope = getScope();
23922392
// Skip all parent DILexicalBlockFile that already have a discriminator
23932393
// assigned. We do not want to have nested DILexicalBlockFiles that have
2394-
// mutliple discriminators because only the leaf DILexicalBlockFile's
2394+
// multiple discriminators because only the leaf DILexicalBlockFile's
23952395
// dominator will be used.
23962396
for (auto *LBF = dyn_cast<DILexicalBlockFile>(Scope);
23972397
LBF && LBF->getDiscriminator() != 0;

llvm/lib/Target/X86/X86LowerAMXType.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ bool X86LowerAMXType::visit() {
498498
DeadInsts.push_back(Bitcast);
499499
continue;
500500
}
501-
// If load has mutli-user, duplicate a vector load.
501+
// If load has multi-user, duplicate a vector load.
502502
// %src = load <256 x i32>, <256 x i32>* %addr, align 64
503503
// %2 = bitcast <256 x i32> %src to x86_amx
504504
// %add = add <256 x i32> %src, <256 x i32> %src2

llvm/test/CodeGen/AArch64/eon.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ entry:
1515
ret i64 %xor
1616
}
1717

18-
; Same check with mutliple uses of %neg
18+
; Same check with multiple uses of %neg
1919
define i64 @test2(i64 %a, i64 %b, i64 %c) {
2020
; CHECK-LABEL: test2:
2121
; CHECK: eon

0 commit comments

Comments
 (0)