Skip to content

Commit c13f7b0

Browse files
committed
Fix typo in comment
1 parent f7a2a10 commit c13f7b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,9 +357,9 @@ class SimplifyBooleanExprCheck::Visitor : public RecursiveASTVisitor<Visitor> {
357357
}
358358

359359
bool VisitIfStmt(IfStmt *If) {
360-
// Skiany if's that have a condition var or an init statement, or are
360+
// Skip any if's that have a condition var or an init statement, or are
361361
// "if consteval" statements.
362-
if ( If->hasVarStorage() || If->isConsteval())
362+
if (If->hasVarStorage() || If->isConsteval())
363363
return true;
364364
/*
365365
* if (true) ThenStmt(); -> ThenStmt();

0 commit comments

Comments
 (0)