File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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.
9999static 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 }
You can’t perform that action at this time.
0 commit comments