Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c705003

Browse files
authored
[NFC] Exactly one kind typo fixes, change defintions to definitions. (#174333)
1 parent c9cc782 commit c705003

10 files changed

Lines changed: 10 additions & 10 deletions

File tree

clang/lib/Format/WhitespaceManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ class WhitespaceManager {
234234
/// Align consecutive bitfields over all \c Changes.
235235
void alignConsecutiveBitFields();
236236

237-
/// Align consecutive colon. For bitfields, TableGen DAGArgs and defintions.
237+
/// Align consecutive colon. For bitfields, TableGen DAGArgs and definitions.
238238
void
239239
alignConsecutiveColons(const FormatStyle::AlignConsecutiveStyle &AlignStyle,
240240
TokenType Type);

libcxxabi/src/cxa_personality.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
#if __has_feature(ptrauth_calls)
2525

26-
// CXXABI depends on defintions in libunwind as pointer auth couples the
26+
// CXXABI depends on definitions in libunwind as pointer auth couples the
2727
// definitions
2828
# include "libunwind.h"
2929

lldb/test/API/functionalities/gdb_remote_client/TestXMLRegisterFlags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ def test_format_disables_flags(self):
487487
@skipIfXmlSupportMissing
488488
@skipIfRemote
489489
def test_xml_includes(self):
490-
# Certain targets e.g. s390x QEMU split their defintions over multiple
490+
# Certain targets e.g. s390x QEMU split their definitions over multiple
491491
# files that are included into target.xml.
492492
self.setup_multidoc_test(
493493
{

llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2540,7 +2540,7 @@ MCSection *TargetLoweringObjectFileXCOFF::SelectSectionForGlobal(
25402540

25412541
// For BSS kind, zero initialized data must be emitted to the .data section
25422542
// because external linkage control sections that get mapped to the .bss
2543-
// section will be linked as tentative defintions, which is only appropriate
2543+
// section will be linked as tentative definitions, which is only appropriate
25442544
// for SectionKind::Common.
25452545
if (Kind.isData() || Kind.isReadOnlyWithRel() || Kind.isBSS()) {
25462546
if (TM.getDataSections()) {

llvm/lib/Target/AMDGPU/R600ISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2191,7 +2191,7 @@ R600TargetLowering::shouldExpandAtomicRMWInIR(AtomicRMWInst *RMW) const {
21912191
case AtomicRMWInst::UIncWrap:
21922192
case AtomicRMWInst::UDecWrap:
21932193
// FIXME: Cayman at least appears to have instructions for this, but the
2194-
// instruction defintions appear to be missing.
2194+
// instruction definitions appear to be missing.
21952195
return AtomicExpansionKind::CmpXChg;
21962196
case AtomicRMWInst::Xchg: {
21972197
const DataLayout &DL = RMW->getFunction()->getDataLayout();

llvm/lib/Target/M68k/MCTargetDesc/M68kMCCodeEmitter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88
///
99
/// \file
10-
/// This file contains defintions for M68k code emitter.
10+
/// This file contains definitions for M68k code emitter.
1111
///
1212
//===----------------------------------------------------------------------===//
1313

llvm/tools/llvm-objdump/MachODump.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3605,7 +3605,7 @@ namespace {
36053605

36063606
// These are structs in the Objective-C meta data and read to produce the
36073607
// comments for disassembly. While these are part of the ABI they are no
3608-
// public defintions. So the are here not in include/llvm/BinaryFormat/MachO.h
3608+
// public definitions. So the are here not in include/llvm/BinaryFormat/MachO.h
36093609
// .
36103610

36113611
// The cfstring object in a 64-bit Mach-O file.

llvm/utils/TableGen/Basic/TableGen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88
//
9-
// This file contains the global defintions (mostly command line parameters)
9+
// This file contains the global definitions (mostly command line parameters)
1010
// shared between llvm-tblgen and llvm-min-tblgen.
1111
//
1212
//===----------------------------------------------------------------------===//

mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ static const char bannerFormat[] = R"FMT(
505505
// {3}: documentation (summary + description)
506506
// {4}: op attribute list
507507
// {5}: builder methods taking standalone attribute parameters
508-
// {6}: additional method defintions
508+
// {6}: additional method definitions
509509
// {7}: additional methods for attributes used by indexing maps
510510
static const char structuredOpOdsHeaderFormat[] = R"FMT(
511511
//===----------------------------------------------------------------------===//

mlir/tools/mlir-tblgen/OpGenHelpers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ getRequestedOpDefinitions(const llvm::RecordKeeper &records);
2929
/// Regenerate using python -c"print(set(sorted(__import__('keyword').kwlist)))"
3030
bool isPythonReserved(llvm::StringRef str);
3131

32-
/// Shard the op defintions into the number of shards set by "op-shard-count".
32+
/// Shard the op definitions into the number of shards set by "op-shard-count".
3333
void shardOpDefinitions(
3434
ArrayRef<const llvm::Record *> defs,
3535
SmallVectorImpl<ArrayRef<const llvm::Record *>> &shardedDefs);

0 commit comments

Comments
 (0)