[NFC] Exactly one kind typo fixes, change defintions to definitions. (#174333)

This commit is contained in:
willmafh 2026-01-14 16:12:26 +08:00 committed by GitHub
parent c9cc782e0b
commit c705003e8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 10 additions and 10 deletions

View File

@ -234,7 +234,7 @@ private:
/// Align consecutive bitfields over all \c Changes.
void alignConsecutiveBitFields();
/// Align consecutive colon. For bitfields, TableGen DAGArgs and defintions.
/// Align consecutive colon. For bitfields, TableGen DAGArgs and definitions.
void
alignConsecutiveColons(const FormatStyle::AlignConsecutiveStyle &AlignStyle,
TokenType Type);

View File

@ -23,7 +23,7 @@
#if __has_feature(ptrauth_calls)
// CXXABI depends on defintions in libunwind as pointer auth couples the
// CXXABI depends on definitions in libunwind as pointer auth couples the
// definitions
# include "libunwind.h"

View File

@ -487,7 +487,7 @@ class TestXMLRegisterFlags(GDBRemoteTestBase):
@skipIfXmlSupportMissing
@skipIfRemote
def test_xml_includes(self):
# Certain targets e.g. s390x QEMU split their defintions over multiple
# Certain targets e.g. s390x QEMU split their definitions over multiple
# files that are included into target.xml.
self.setup_multidoc_test(
{

View File

@ -2540,7 +2540,7 @@ MCSection *TargetLoweringObjectFileXCOFF::SelectSectionForGlobal(
// For BSS kind, zero initialized data must be emitted to the .data section
// because external linkage control sections that get mapped to the .bss
// section will be linked as tentative defintions, which is only appropriate
// section will be linked as tentative definitions, which is only appropriate
// for SectionKind::Common.
if (Kind.isData() || Kind.isReadOnlyWithRel() || Kind.isBSS()) {
if (TM.getDataSections()) {

View File

@ -2191,7 +2191,7 @@ R600TargetLowering::shouldExpandAtomicRMWInIR(AtomicRMWInst *RMW) const {
case AtomicRMWInst::UIncWrap:
case AtomicRMWInst::UDecWrap:
// FIXME: Cayman at least appears to have instructions for this, but the
// instruction defintions appear to be missing.
// instruction definitions appear to be missing.
return AtomicExpansionKind::CmpXChg;
case AtomicRMWInst::Xchg: {
const DataLayout &DL = RMW->getFunction()->getDataLayout();

View File

@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
///
/// \file
/// This file contains defintions for M68k code emitter.
/// This file contains definitions for M68k code emitter.
///
//===----------------------------------------------------------------------===//

View File

@ -3605,7 +3605,7 @@ namespace {
// These are structs in the Objective-C meta data and read to produce the
// comments for disassembly. While these are part of the ABI they are no
// public defintions. So the are here not in include/llvm/BinaryFormat/MachO.h
// public definitions. So the are here not in include/llvm/BinaryFormat/MachO.h
// .
// The cfstring object in a 64-bit Mach-O file.

View File

@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
//
// This file contains the global defintions (mostly command line parameters)
// This file contains the global definitions (mostly command line parameters)
// shared between llvm-tblgen and llvm-min-tblgen.
//
//===----------------------------------------------------------------------===//

View File

@ -505,7 +505,7 @@ static const char bannerFormat[] = R"FMT(
// {3}: documentation (summary + description)
// {4}: op attribute list
// {5}: builder methods taking standalone attribute parameters
// {6}: additional method defintions
// {6}: additional method definitions
// {7}: additional methods for attributes used by indexing maps
static const char structuredOpOdsHeaderFormat[] = R"FMT(
//===----------------------------------------------------------------------===//

View File

@ -29,7 +29,7 @@ getRequestedOpDefinitions(const llvm::RecordKeeper &records);
/// Regenerate using python -c"print(set(sorted(__import__('keyword').kwlist)))"
bool isPythonReserved(llvm::StringRef str);
/// Shard the op defintions into the number of shards set by "op-shard-count".
/// Shard the op definitions into the number of shards set by "op-shard-count".
void shardOpDefinitions(
ArrayRef<const llvm::Record *> defs,
SmallVectorImpl<ArrayRef<const llvm::Record *>> &shardedDefs);