Home | History | Annotate | Download | only in ASTMatchers

Lines Matching refs:ifStmt

890 const internal::VariadicDynCastAllOfMatcher<Stmt, IfStmt> ifStmt;
1727 /// \c compoundStmt(hasParent(ifStmt())) matches "{ int x = 43; }".
1742 /// \c expr(integerLiteral(hasAncestor(ifStmt()))) matches \c 42, but not 43.
2372 IfStmt, ForStmt, WhileStmt, DoStmt, ConditionalOperator),
2382 /// (matcher = ifStmt(hasThen(boolLiteral(equals(true)))))
2386 AST_MATCHER_P(IfStmt, hasThen, internal::Matcher<Stmt>, InnerMatcher) {
2394 /// (matcher = ifStmt(hasElse(boolLiteral(equals(true)))))
2398 AST_MATCHER_P(IfStmt, hasElse, internal::Matcher<Stmt>, InnerMatcher) {
2447 AST_MATCHER_P(IfStmt, hasConditionVariableStatement,