Lines Matching refs:ifStmt
466 StatementMatcher MixedTypes = stmt(anyOf(ifStmt(), binaryOperator())); in TEST()
2120 StatementMatcher Condition = ifStmt(hasCondition(boolLiteral(equals(true)))); in TEST()
2131 ifStmt(hasThen(boolLiteral(equals(true)))))); in TEST()
2133 ifStmt(hasThen(boolLiteral(equals(true)))))); in TEST()
2135 ifStmt(hasElse(boolLiteral(equals(true)))))); in TEST()
2137 ifStmt(hasElse(boolLiteral(equals(true)))))); in TEST()
3246 ifStmt(has(switchStmt(forEachSwitchCase(defaultStmt())))))); in TEST()
3281 ifStmt(hasConditionVariableStatement(declStmt())))); in TEST()
3284 ifStmt(hasConditionVariableStatement(declStmt())))); in TEST()
3290 ifStmt(hasConditionVariableStatement(declStmt())))); in TEST()
3358 compoundStmt(forEachDescendant(ifStmt().bind("if")), in TEST()
3426 has(compoundStmt(hasAnySubstatement(ifStmt())))), in TEST()
3452 ifStmt(stmt().bind("x"), hasAncestor(recordDecl(hasName("::A")))), in TEST()
3725 integerLiteral(equals(42), hasAncestor(ifStmt())))); in TEST()
3786 compoundStmt(hasParent(ifStmt())))); in TEST()
3789 compoundStmt(hasParent(ifStmt())))); in TEST()
3792 compoundStmt(hasParent(ifStmt())))); in TEST()
4379 "void f() { if (1) { for (;;) { } } }", ifStmt().bind("if"), in TEST()
4383 "void f() { if (1) { for (;;) { } } }", ifStmt().bind("if"), in TEST()
4434 "void f() { if (true) if(true) {} }", ifStmt().bind(""), in TEST()
4534 stmt(allOf(ifStmt().bind("if"), in TEST()
4539 stmt(allOf(ifStmt().bind("if"), has(stmt(equalsBoundNode("if"))))))); in TEST()