Home | History | Annotate | Download | only in ASTMatchers

Lines Matching defs:Conditional

2069   StatementMatcher Conditional = conditionalOperator(
2073 EXPECT_TRUE(matches("void x() { true ? false : true; }", Conditional));
2074 EXPECT_TRUE(notMatches("void x() { false ? false : true; }", Conditional));
2075 EXPECT_TRUE(notMatches("void x() { true ? true : false; }", Conditional));