Home
last modified time | relevance | path

Searched refs:SubIf (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DSimplifyBooleanExprCheck.cpp492 auto *SubIf = dyn_cast<IfStmt>(SubStmt); in VisitCompoundStmt() local
493 if (SubIf && !SubIf->getElse() && !SubIf->hasInitStorage() && in VisitCompoundStmt()
494 !SubIf->hasVarStorage()) { in VisitCompoundStmt()
496 checkSingleStatement(SubIf->getThen(), parseReturnLiteralBool); in VisitCompoundStmt()
501 SubIf, ThenReturnBool.Item); in VisitCompoundStmt()