Home | History | Annotate | Download | only in ASTMatchers

Lines Matching refs:Constructor

1418   // The match here is on the implicit copy constructor code for
1646 StatementMatcher Constructor = constructExpr();
1649 matches("class X { public: X(); }; void x() { X x; }", Constructor));
1652 Constructor));
1655 Constructor));
1656 EXPECT_TRUE(matches("class X {}; void x(int) { X x; }", Constructor));
1660 StatementMatcher Constructor = constructExpr(
1665 Constructor));
1668 Constructor));
1671 Constructor));
1674 Constructor));
1792 // This one doesn't match because the constructor is not added by the
1796 // The compiler added the implicit default constructor.
2305 StatementMatcher Constructor = constructExpr(hasDeclaration(methodDecl(
2309 matches("class X { public: X(); }; void x(int) { X x; }", Constructor));
2312 Constructor));
2315 Constructor));