Home
last modified time | relevance | path

Searched refs:cxxMethodDecl (Results 1 – 11 of 11) sorted by relevance

/external/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp541 const auto IsLambda = cxxMethodDecl(ofClass(cxxRecordDecl(isLambda()))); in TEST()
563 callExpr(callee(cxxMethodDecl(hasName("x")))).bind("x"); in TEST()
605 cxxMethodDecl(hasParameter(0, hasType(asString("int")))))); in TEST()
936 cxxMethodDecl(isFinal()))); in TEST()
939 notMatches("class X { virtual void f(); };", cxxMethodDecl(isFinal()))); in TEST()
944 cxxMethodDecl(isVirtual(), hasName("::X::f")))); in TEST()
945 EXPECT_TRUE(notMatches("class X { int f(); };", cxxMethodDecl(isVirtual()))); in TEST()
951 cxxMethodDecl(isVirtualAsWritten(), hasName("::A::f")))); in TEST()
955 cxxMethodDecl(isVirtualAsWritten(), hasName("::B::f")))); in TEST()
960 cxxMethodDecl(isPure(), hasName("::X::f")))); in TEST()
[all …]
DASTMatchersTraversalTest.cpp315 StatementMatcher CallMethodX = callExpr(callee(cxxMethodDecl(hasName("x")))); in TEST()
475 cxxMethodDecl(hasParameter(0, varDecl())))); in TEST()
477 cxxMethodDecl(hasParameter(0, hasName("x"))))); in TEST()
482 cxxMethodDecl(hasParameter(42, varDecl())))); in TEST()
488 cxxMethodDecl(hasParameter(0, hasType(recordDecl(hasName("X"))))))); in TEST()
491 cxxMethodDecl(hasParameter(0, hasType(recordDecl(hasName("X"))))))); in TEST()
493 cxxMethodDecl(hasParameter( in TEST()
496 cxxMethodDecl(hasParameter( in TEST()
503 cxxMethodDecl(hasAnyParameter(hasType(recordDecl(hasName("X"))))))); in TEST()
506 cxxMethodDecl(hasAnyParameter(hasType(recordDecl(hasName("X"))))))); in TEST()
[all …]
DASTMatchersNodeTest.cpp196 callExpr(hasDeclaration(cxxMethodDecl(hasName("x")))); in TEST()
/external/clang/unittests/AST/
DASTContextParentMapTest.cpp28 cxxMethodDecl(hasParent(recordDecl(hasName("C")))))); in TEST()
55 cxxMethodDecl(hasName("f"), in TEST()
60 cxxMethodDecl(hasName("f"), in TEST()
65 cxxMethodDecl( in TEST()
DDeclPrinterTest.cpp595 cxxMethodDecl(ofClass(hasName("A"))).bind("id"), in TEST()
604 cxxMethodDecl(ofClass(hasName("A"))).bind("id"), in TEST()
614 cxxMethodDecl(ofClass(hasName("A"))).bind("id"), in TEST()
624 cxxMethodDecl(ofClass(hasName("Z"))).bind("id"), in TEST()
635 cxxMethodDecl(ofClass(hasName("Z"))).bind("id"), in TEST()
645 cxxMethodDecl(ofClass(hasName("Z"))).bind("id"), in TEST()
655 cxxMethodDecl(ofClass(hasName("Z"))).bind("id"), in TEST()
665 cxxMethodDecl(ofClass(hasName("Z"))).bind("id"), in TEST()
693 cxxMethodDecl(ofClass(hasName("Z"))).bind("id"), in TEST()
717 cxxMethodDecl(ofClass(hasName("Z"))).bind("id"), in TEST()
/external/v8/tools/clang/value_cleanup/
DListValueRewriter.cpp351 callee(cxxMethodDecl(hasName("::base::ListValue::Append"))), in RegisterMatchers()
364 hasDeclaration(cxxMethodDecl(hasName( in RegisterMatchers()
383 hasDeclaration(cxxMethodDecl(hasName( in RegisterMatchers()
402 hasDeclaration(cxxMethodDecl(hasName( in RegisterMatchers()
421 hasDeclaration(cxxMethodDecl( in RegisterMatchers()
428 allOf(callee(cxxMethodDecl( in RegisterMatchers()
/external/v8/tools/clang/rewrite_to_chrome_style/
DRewriteToChromeStyle.cpp208 auto is_method_safe_to_rename = cxxMethodDecl( in MatchAllOverriddenMethods()
619 unless(cxxMethodDecl(isOverride()))), in GetNameForDecl()
622 cxxMethodDecl(isOverride(), forEachOverridden(returns( in GetNameForDecl()
1330 has(cxxMethodDecl(isUserProvided(), isInstanceMethod())))))); in main()
1400 cxxMethodDecl(), in main()
1438 cxxMethodDecl( in main()
1648 decl(cxxMethodDecl(mocksMethod(method_decl_matcher)))))); in main()
/external/v8/tools/clang/empty_string/
DEmptyStringConverter.cpp86 hasDeclaration(cxxMethodDecl(ofClass(hasName("std::basic_string")))), in SetupMatchers()
/external/v8/tools/clang/rewrite_scoped_refptr/
DRewriteScopedRefptr.cpp331 anyOf(cxxMethodDecl(ofClass(cxxRecordDecl(isSameOrDerivedFrom( in main()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp147 REGISTER_MATCHER(cxxMethodDecl); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h917 const internal::VariadicDynCastAllOfMatcher<Decl, CXXMethodDecl> cxxMethodDecl; variable
3209 unsigned ArgIndex = cxxOperatorCallExpr(callee(cxxMethodDecl())) in AST_POLYMORPHIC_MATCHER_P2()