Home
last modified time | relevance | path

Searched refs:cxxRecordDecl (Results 1 – 12 of 12) sorted by relevance

/external/clang/unittests/AST/
DASTContextParentMapTest.cpp56 hasParent(cxxRecordDecl(isTemplateInstantiation()))))); in TEST()
61 hasParent(cxxRecordDecl(unless(isTemplateInstantiation())))))); in TEST()
67 allOf(hasParent(cxxRecordDecl(unless(isTemplateInstantiation()))), in TEST()
68 hasParent(cxxRecordDecl(isTemplateInstantiation())))))); in TEST()
77 hasAncestor(cxxRecordDecl(isTemplateInstantiation())), in TEST()
78 hasAncestor(cxxRecordDecl(unless(isTemplateInstantiation()))))))); in TEST()
DASTImporterTest.cpp212 cxxRecordDecl( in TEST()
268 cxxRecordDecl( in TEST()
DSourceLocationTest.cpp530 friendDecl(hasParent(cxxRecordDecl(isTemplateInstantiation()))))); in TEST()
/external/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp155 cxxRecordDecl( in TEST()
293 DeclarationMatcher YOrZDerivedFromX = cxxRecordDecl( in TEST()
327 DeclarationMatcher IsDerivedFromX = cxxRecordDecl(isDerivedFrom("X")); in TEST()
335 DeclarationMatcher IsAX = cxxRecordDecl(isSameOrDerivedFrom("X")); in TEST()
344 cxxRecordDecl(hasName("Z"), isDerivedFrom("X")); in TEST()
463 cxxRecordDecl(isDerivedFrom(recordDecl(hasName("Some")))))); in TEST()
470 cxxRecordDecl(hasName("B"), isDerivedFrom(recordDecl(hasName("A")))))); in TEST()
487 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base1"))))))); in TEST()
491 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base2"))))))); in TEST()
495 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base1"), in TEST()
[all …]
DASTMatchersTraversalTest.cpp24 cxxRecordDecl(hasMethod(hasName("func"))))); in TEST()
26 cxxRecordDecl(hasMethod(isPublic())))); in TEST()
36 cxxRecordDecl(hasName("B"), isDerivedFrom(recordDecl())))); in TEST()
154 hasDeclaration(cxxRecordDecl(isDerivedFrom("A"))); in TEST()
1458 cxxRecordDecl(decl().bind("x"), hasMethod(hasName("g"))), in TEST()
1487 cxxRecordDecl(decl().bind("x"), isDerivedFrom("::A")), in TEST()
1492 cxxRecordDecl(decl().bind("x"), isDerivedFrom("C")), in TEST()
1654 hasAncestor(cxxRecordDecl(isTemplateInstantiation())), in TEST()
1655 hasAncestor(cxxRecordDecl(unless(isTemplateInstantiation()))))))); in TEST()
1712 hasParent(cxxRecordDecl(isTemplateInstantiation()))))))))); in TEST()
[all …]
DASTMatchersInternalTest.cpp39 DeclarationMatcher IsDerivedFromEmpty = cxxRecordDecl(isDerivedFrom("")); in TEST()
/external/v8/tools/clang/rewrite_scoped_refptr/
DRewriteScopedRefptr.cpp277 auto is_scoped_refptr = cxxRecordDecl(isSameOrDerivedFrom("::scoped_refptr"), in main()
331 anyOf(cxxMethodDecl(ofClass(cxxRecordDecl(isSameOrDerivedFrom( in main()
336 cxxConstructorDecl(ofClass(cxxRecordDecl( in main()
/external/v8/tools/clang/blink_gc_plugin/
DBadPatternFinder.cpp18 cxxRecordDecl(isDerivedFrom(hasAnyName("::blink::GarbageCollected", in GarbageCollectedType()
/external/v8/tools/clang/traffic_annotation_extractor/
Dtraffic_annotation_extractor.cpp377 hasObjectExpression(hasType(cxxRecordDecl(anyOf( in RunMatchers()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h365 CXXRecordDecl> cxxRecordDecl; variable
4296 auto IsInstantiation = decl(anyOf(cxxRecordDecl(isTemplateInstantiation()), in AST_MATCHER_FUNCTION()
4317 hasAncestor(decl(anyOf(cxxRecordDecl(isTemplateInstantiation()), in AST_MATCHER_FUNCTION()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp151 REGISTER_MATCHER(cxxRecordDecl); in RegistryMaps()
/external/v8/tools/clang/rewrite_to_chrome_style/
DRewriteToChromeStyle.cpp312 auto internal_settings_class_decl = cxxRecordDecl( in MatchAllOverriddenMethods()