Home | History | Annotate | Download | only in ASTMatchers

Lines Matching refs:cxxMethodDecl

541   const auto IsLambda = cxxMethodDecl(ofClass(cxxRecordDecl(isLambda())));
563 callExpr(callee(cxxMethodDecl(hasName("x")))).bind("x");
605 cxxMethodDecl(hasParameter(0, hasType(asString("int"))))));
936 cxxMethodDecl(isFinal())));
939 notMatches("class X { virtual void f(); };", cxxMethodDecl(isFinal())));
944 cxxMethodDecl(isVirtual(), hasName("::X::f"))));
945 EXPECT_TRUE(notMatches("class X { int f(); };", cxxMethodDecl(isVirtual())));
951 cxxMethodDecl(isVirtualAsWritten(), hasName("::A::f"))));
955 cxxMethodDecl(isVirtualAsWritten(), hasName("::B::f"))));
960 cxxMethodDecl(isPure(), hasName("::X::f"))));
961 EXPECT_TRUE(notMatches("class X { int f(); };", cxxMethodDecl(isPure())));
966 cxxMethodDecl(isCopyAssignmentOperator())));
968 cxxMethodDecl(isCopyAssignmentOperator())));
970 cxxMethodDecl(isCopyAssignmentOperator())));
972 cxxMethodDecl(isCopyAssignmentOperator())));
974 cxxMethodDecl(isCopyAssignmentOperator())));
976 cxxMethodDecl(isCopyAssignmentOperator())));
981 cxxMethodDecl(isMoveAssignmentOperator())));
983 cxxMethodDecl(isMoveAssignmentOperator())));
985 cxxMethodDecl(isMoveAssignmentOperator())));
987 cxxMethodDecl(isMoveAssignmentOperator())));
989 cxxMethodDecl(isMoveAssignmentOperator())));
991 cxxMethodDecl(isMoveAssignmentOperator())));
996 matches("struct A { void foo() const; };", cxxMethodDecl(isConst())));
998 notMatches("struct A { void foo(); };", cxxMethodDecl(isConst())));
1004 cxxMethodDecl(isOverride(), hasName("::Y::f"))));
1007 cxxMethodDecl(isOverride(), hasName("::X::f"))));
1010 cxxMethodDecl(isOverride())));
1012 cxxMethodDecl(isOverride())));
1015 cxxMethodDecl(isOverride(), hasName("::Y::f"))));
1083 cxxMethodDecl(isImplicit(), hasName("operator="))));
1289 cxxMethodDecl(hasName("a"), isDefinition());
1731 cxxMethodDecl(returns(booleanType()))));
1733 cxxMethodDecl(returns(booleanType()))));
1738 cxxMethodDecl(returns(voidType()))));
1743 cxxMethodDecl(returns(realFloatingPointType()))));
1745 cxxMethodDecl(returns(realFloatingPointType()))));
1747 cxxMethodDecl(returns(realFloatingPointType()))));
1899 callee(cxxMethodDecl(hasName("data"))),
1903 callee(cxxMethodDecl(anyOf(hasName("size"), hasName("length")))),
1915 callee(cxxMethodDecl(hasName("data"))),
1919 callee(cxxMethodDecl(anyOf(hasName("size"), hasName("length")))),