Skip to content

Commit ebdb9e9

Browse files
vbvictoraokblast
authored andcommitted
[clang-tidy][NFC] fix typos in RenamerCheck (llvm#164338)
1 parent 2457fc4 commit ebdb9e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ static const NamedDecl *findDecl(const RecordDecl &RecDecl,
9393
return nullptr;
9494
}
9595

96-
/// Returns the function that \p Method is overridding. If There are none or
96+
/// Returns the function that \p Method is overriding. If There are none or
9797
/// multiple overrides it returns nullptr. If the overridden function itself is
98-
/// overridding then it will recurse up to find the first decl of the function.
98+
/// overriding then it will recurse up to find the first decl of the function.
9999
static const CXXMethodDecl *getOverrideMethod(const CXXMethodDecl *Method) {
100100
if (Method->size_overridden_methods() != 1)
101101
return nullptr;
@@ -490,7 +490,7 @@ void RenamerClangTidyCheck::addUsage(const NamedDecl *Decl,
490490
NamingCheckFailure &Failure = FailureIter->second;
491491
Failure.Info = std::move(*MaybeFailure);
492492

493-
// Don't overwritte the failure status if it was already set.
493+
// Don't overwrite the failure status if it was already set.
494494
if (!Failure.shouldFix()) {
495495
return;
496496
}

0 commit comments

Comments
 (0)