Home | History | Annotate | Download | only in ASTMatchers

Lines Matching full:hascondition

961 TEST(Matcher, HasCondition) {
963 ifStmt(hasCondition(cxxBoolLiteral(equals(true))));
968 forStmt(hasCondition(cxxBoolLiteral(equals(true))));
973 whileStmt(hasCondition(cxxBoolLiteral(equals(true))));
978 switchStmt(hasCondition(integerLiteral(equals(42))));
985 forStmt(hasCondition(anything()))));
1000 forStmt(hasCondition(expr()))));