@@ -262,7 +262,7 @@ StatementMatcher makeIteratorLoopMatcher(bool IsReverse) {
262262// / EndVarName: 'j' (as a VarDecl)
263263// / In the second example only:
264264// / EndCallName: 'container.size()' (as a CXXMemberCallExpr) or
265- // / 'size(contaner )' (as a CallExpr)
265+ // / 'size(container )' (as a CallExpr)
266266// /
267267// / Client code will need to make sure that:
268268// / - The containers on which 'size()' is called is the container indexed.
@@ -491,7 +491,7 @@ static bool isDirectMemberExpr(const Expr *E) {
491491}
492492
493493// / Given an expression that represents an usage of an element from the
494- // / containter that we are iterating over, returns false when it can be
494+ // / container that we are iterating over, returns false when it can be
495495// / guaranteed this element cannot be modified as a result of this usage.
496496static bool canBeModified (ASTContext *Context, const Expr *E) {
497497 if (E->getType ().isConstQualified ())
@@ -922,7 +922,7 @@ bool LoopConvertCheck::isConvertible(ASTContext *Context,
922922 const ast_matchers::BoundNodes &Nodes,
923923 const ForStmt *Loop,
924924 LoopFixerKind FixerKind) {
925- // In self contained diagnosics mode we don't want dependancies on other
925+ // In self contained diagnostic mode we don't want dependencies on other
926926 // loops, otherwise, If we already modified the range of this for loop, don't
927927 // do any further updates on this iteration.
928928 if (areDiagsSelfContained ())
0 commit comments