https://github.com/willmafh created https://github.com/llvm/llvm-project/pull/173974
None >From d98c4bb2c561674f87f8d03b43139dfe3b65e4ed Mon Sep 17 00:00:00 2001 From: willmafh <[email protected]> Date: Tue, 30 Dec 2025 10:37:27 +0000 Subject: [PATCH] chore: deletes unnecessary apostrophe at the end of its. --- clang-tools-extra/clang-tidy/bugprone/InfiniteLoopCheck.cpp | 2 +- clang/lib/Analysis/UnsafeBufferUsage.cpp | 4 ++-- clang/test/Analysis/stack-capture-leak-no-arc.mm | 2 +- libcxxabi/src/cxa_exception.cpp | 2 +- llvm/lib/Target/Mips/MipsISelLowering.cpp | 2 +- llvm/lib/Target/Mips/MipsInstrInfo.td | 2 +- llvm/test/Transforms/CodeGenPrepare/Mips/pr35209.ll | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/clang-tools-extra/clang-tidy/bugprone/InfiniteLoopCheck.cpp b/clang-tools-extra/clang-tidy/bugprone/InfiniteLoopCheck.cpp index 3420932cec031..4ad85a7bf55fb 100644 --- a/clang-tools-extra/clang-tidy/bugprone/InfiniteLoopCheck.cpp +++ b/clang-tools-extra/clang-tidy/bugprone/InfiniteLoopCheck.cpp @@ -203,7 +203,7 @@ static bool populateCallees(const Stmt *StmtNode, return true; } -/// returns true iff `SCC` contains `Func` and its' function set overlaps with +/// returns true iff `SCC` contains `Func` and its function set overlaps with /// `Callees` static bool overlap(ArrayRef<CallGraphNode *> SCC, const llvm::SmallPtrSet<const Decl *, 16> &Callees, diff --git a/clang/lib/Analysis/UnsafeBufferUsage.cpp b/clang/lib/Analysis/UnsafeBufferUsage.cpp index 7ef20726d0ab9..22ce6d18b0ea5 100644 --- a/clang/lib/Analysis/UnsafeBufferUsage.cpp +++ b/clang/lib/Analysis/UnsafeBufferUsage.cpp @@ -3549,7 +3549,7 @@ static bool hasConflictingOverload(const FunctionDecl *FD) { // 1. Add the `[[clang::unsafe_buffer_usage]]` attribute to each declaration // of 'F'; // 2. Create a declaration of "NewF" next to each declaration of `F`; -// 3. Create a definition of "F" (as its' original definition is now belongs +// 3. Create a definition of "F" (as its original definition is now belongs // to "NewF") next to its original definition. The body of the creating // definition calls to "NewF". // @@ -4081,7 +4081,7 @@ getFixIts(FixableGadgetSets &FixablesForAllVars, const FixitStrategy &S, } // `FixItsForVariable` now contains only variables that can be - // fixed. A variable can be fixed if its' declaration and all Fixables + // fixed. A variable can be fixed if its declaration and all Fixables // associated to it can all be fixed. // To further remove from `FixItsForVariable` variables whose group mates diff --git a/clang/test/Analysis/stack-capture-leak-no-arc.mm b/clang/test/Analysis/stack-capture-leak-no-arc.mm index 1831e239a42d2..71145d05072d7 100644 --- a/clang/test/Analysis/stack-capture-leak-no-arc.mm +++ b/clang/test/Analysis/stack-capture-leak-no-arc.mm @@ -49,7 +49,7 @@ void output_constant_block(dispatch_block_t * blk) { } // A block can leak if it captures at least one variable and is not -// under ARC when its' stack frame expires. +// under ARC when its stack frame expires. void test_block_leak() { __block dispatch_block_t blk; int x = 0; diff --git a/libcxxabi/src/cxa_exception.cpp b/libcxxabi/src/cxa_exception.cpp index 73ba21c1df7c1..5d7edae697d67 100644 --- a/libcxxabi/src/cxa_exception.cpp +++ b/libcxxabi/src/cxa_exception.cpp @@ -228,7 +228,7 @@ __cxa_exception* __cxa_init_primary_exception(void* object, std::type_info* tinf } // This function shall allocate a __cxa_dependent_exception and -// return a pointer to it. (Really to the object, not past its' end). +// return a pointer to it. (Really to the object, not past its end). // Otherwise, it will work like __cxa_allocate_exception. void * __cxa_allocate_dependent_exception () { size_t actual_size = sizeof(__cxa_dependent_exception); diff --git a/llvm/lib/Target/Mips/MipsISelLowering.cpp b/llvm/lib/Target/Mips/MipsISelLowering.cpp index ef1961a646eb7..dbbeb75e673c3 100644 --- a/llvm/lib/Target/Mips/MipsISelLowering.cpp +++ b/llvm/lib/Target/Mips/MipsISelLowering.cpp @@ -1184,7 +1184,7 @@ bool MipsTargetLowering::isCheapToSpeculateCtlz(Type *Ty) const { bool MipsTargetLowering::hasBitTest(SDValue X, SDValue Y) const { // We can use ANDI+SLTIU as a bit test. Y contains the bit position. - // For MIPSR2 or later, we may be able to use the `ext` instruction or its' + // For MIPSR2 or later, we may be able to use the `ext` instruction or its // double-word variants. if (auto *C = dyn_cast<ConstantSDNode>(Y)) return C->getAPIntValue().ule(15); diff --git a/llvm/lib/Target/Mips/MipsInstrInfo.td b/llvm/lib/Target/Mips/MipsInstrInfo.td index e4d81986eb47d..5b464ff2957e4 100644 --- a/llvm/lib/Target/Mips/MipsInstrInfo.td +++ b/llvm/lib/Target/Mips/MipsInstrInfo.td @@ -1815,7 +1815,7 @@ class ExtBase<string opstr, RegisterOperand RO, Operand PosOpnd, [(set RO:$rt, (Op RO:$rs, PosImm:$pos, SizeImm:$size))], II_EXT, FrmR, opstr>; -// 'ins' and its' 64 bit variants are matched by C++ code. +// 'ins' and its 64 bit variants are matched by C++ code. class InsBase<string opstr, RegisterOperand RO, Operand PosOpnd, Operand SizeOpnd, PatFrag PosImm, PatFrag SizeImm>: InstSE<(outs RO:$rt), (ins RO:$rs, PosOpnd:$pos, SizeOpnd:$size, RO:$src), diff --git a/llvm/test/Transforms/CodeGenPrepare/Mips/pr35209.ll b/llvm/test/Transforms/CodeGenPrepare/Mips/pr35209.ll index 9f2555e22b620..e2ebf3a62f18d 100644 --- a/llvm/test/Transforms/CodeGenPrepare/Mips/pr35209.ll +++ b/llvm/test/Transforms/CodeGenPrepare/Mips/pr35209.ll @@ -1,7 +1,7 @@ ; RUN: opt -S -mtriple=mips64-mti-linux-gnu -codegenprepare < %s | FileCheck %s ; Test that if an address that was sunk from a dominating bb, used in a -; select that is erased along with its' trivally dead operand, that the +; select that is erased along with its trivally dead operand, that the ; sunken address is not reused if the same address computation occurs ; after the select. Previously, this caused a ICE. _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
