Home | History | Annotate | Download | only in ASTMatchers

Lines Matching refs:ifStmt

1882   StatementMatcher Condition = ifStmt(hasCondition(boolLiteral(equals(true))));
2971 ifStmt(has(switchStmt(forEachSwitchCase(defaultStmt()))))));
3006 ifStmt(hasConditionVariableStatement(declStmt()))));
3009 ifStmt(hasConditionVariableStatement(declStmt()))));
3015 ifStmt(hasConditionVariableStatement(declStmt()))));
3083 compoundStmt(forEachDescendant(ifStmt().bind("if")),
3085 new VerifyIdIsBoundTo<IfStmt>("if", 6)));
3151 has(compoundStmt(hasAnySubstatement(ifStmt())))),
3177 ifStmt(stmt().bind("x"), hasAncestor(recordDecl(hasName("::A")))),
3394 integerLiteral(equals(42), hasAncestor(ifStmt()))));
3455 compoundStmt(hasParent(ifStmt()))));
3458 compoundStmt(hasParent(ifStmt()))));
3461 compoundStmt(hasParent(ifStmt()))));
4018 "void f() { if (1) { for (;;) { } } }", ifStmt().bind("if"),
4022 "void f() { if (1) { for (;;) { } } }", ifStmt().bind("if"),
4065 matchAndVerifyResultTrue("void f() { if(true) {} }", ifStmt().bind(""),
4132 stmt(allOf(ifStmt().bind("if"),
4137 stmt(allOf(ifStmt().bind("if"), has(stmt(equalsBoundNode("if")))))));