We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7a2a10 commit c13f7b0Copy full SHA for c13f7b0
clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
@@ -357,9 +357,9 @@ class SimplifyBooleanExprCheck::Visitor : public RecursiveASTVisitor<Visitor> {
357
}
358
359
bool VisitIfStmt(IfStmt *If) {
360
- // Skiany if's that have a condition var or an init statement, or are
+ // Skip any if's that have a condition var or an init statement, or are
361
// "if consteval" statements.
362
- if ( If->hasVarStorage() || If->isConsteval())
+ if (If->hasVarStorage() || If->isConsteval())
363
return true;
364
/*
365
* if (true) ThenStmt(); -> ThenStmt();
0 commit comments