@@ -262,7 +262,7 @@ StatementMatcher makeIteratorLoopMatcher(bool IsReverse) {
262
262
// / EndVarName: 'j' (as a VarDecl)
263
263
// / In the second example only:
264
264
// / EndCallName: 'container.size()' (as a CXXMemberCallExpr) or
265
- // / 'size(contaner )' (as a CallExpr)
265
+ // / 'size(container )' (as a CallExpr)
266
266
// /
267
267
// / Client code will need to make sure that:
268
268
// / - The containers on which 'size()' is called is the container indexed.
@@ -491,7 +491,7 @@ static bool isDirectMemberExpr(const Expr *E) {
491
491
}
492
492
493
493
// / 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
495
495
// / guaranteed this element cannot be modified as a result of this usage.
496
496
static bool canBeModified (ASTContext *Context, const Expr *E) {
497
497
if (E->getType ().isConstQualified ())
@@ -922,7 +922,7 @@ bool LoopConvertCheck::isConvertible(ASTContext *Context,
922
922
const ast_matchers::BoundNodes &Nodes,
923
923
const ForStmt *Loop,
924
924
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
926
926
// loops, otherwise, If we already modified the range of this for loop, don't
927
927
// do any further updates on this iteration.
928
928
if (areDiagsSelfContained ())
0 commit comments