Home | History | Annotate | Download | only in ASTMatchers

Lines Matching refs:Arg

2302   StatementMatcher Arg = cxxDefaultArgExpr();
2304 EXPECT_TRUE(matches("void x(int, int = 0) { int y; x(y); }", Arg));
2306 matches("class X { void x(int, int = 0) { int y; x(y); } };", Arg));
2307 EXPECT_TRUE(notMatches("void x(int, int = 0) { int y; x(y, 0); }", Arg));