HomeSort by relevance Sort by last modified time
    Searched refs:recordDecl (Results 1 - 8 of 8) sorted by null

  /external/clang/unittests/AST/
ASTContextParentMapTest.cpp 31 methodDecl(hasParent(recordDecl(hasName("C"))))));
46 hasParent(recordDecl(isTemplateInstantiation())))));
51 hasParent(recordDecl(unless(isTemplateInstantiation()))))));
56 allOf(hasParent(recordDecl(unless(isTemplateInstantiation()))),
57 hasParent(recordDecl(isTemplateInstantiation()))))));
66 allOf(hasAncestor(recordDecl(isTemplateInstantiation())),
67 hasAncestor(recordDecl(unless(isTemplateInstantiation())))))));
SourceLocationTest.cpp 40 EXPECT_FALSE(Verifier.match("int i;", recordDecl()));
44 LocationVerifier<RecordDecl> Verifier;
257 friendDecl(hasParent(recordDecl(isTemplateInstantiation())))));
  /external/clang/unittests/ASTMatchers/
ASTMatchersTest.cpp 23 DeclarationMatcher HasEmptyName = recordDecl(hasName(""));
30 DeclarationMatcher HasEmptyName = recordDecl(matchesName(""));
37 DeclarationMatcher IsDerivedFromEmpty = recordDecl(isDerivedFrom(""));
93 DeclarationMatcher ClassMatcher(recordDecl());
101 DeclarationMatcher ClassX = recordDecl(recordDecl(hasName("X")));
109 DeclarationMatcher IsDerivedFromX = recordDecl(isDerivedFrom("X"));
117 DeclarationMatcher IsAX = recordDecl(isSameOrDerivedFrom("X"));
126 recordDecl(hasName("Z"), isDerivedFrom("X"));
245 recordDecl(isDerivedFrom(recordDecl(hasName("Some"))))))
    [all...]
  /external/clang/unittests/ASTMatchers/Dynamic/
VariantValueTest.cpp 59 Value = recordDecl();
83 Value = recordDecl();
105 EXPECT_TRUE(matches("class X {};", VariantValue(recordDecl(hasName("X")))
RegistryTest.cpp 156 constructMatcher("recordDecl", IsDefinition).getTypedMatcher<Decl>();
167 Matcher<Decl> RecordDecl =
168 constructMatcher("recordDecl", Anything).getTypedMatcher<Decl>();
176 EXPECT_FALSE(matches("int a;", RecordDecl));
178 EXPECT_TRUE(matches("class A {};", RecordDecl));
180 EXPECT_FALSE(matches("void f(){};", RecordDecl));
227 "recordDecl",
230 constructMatcher("recordDecl",
274 EXPECT_TRUE(constructMatcher("recordDecl", recordDecl(), parameterCountIs(3)
    [all...]
  /external/chromium_org/tools/clang/rewrite_scoped_array/
RewriteScopedArray.cpp 26 using clang::ast_matchers::recordDecl;
78 loc(qualType(hasDeclaration(recordDecl(hasName("::scoped_array")))))),
  /external/clang/lib/ASTMatchers/Dynamic/
Registry.cpp 358 REGISTER_MATCHER(recordDecl);
  /external/clang/include/clang/ASTMatchers/
ASTMatchers.h 17 // recordDecl(hasName("MyClass"))
28 // recordDecl(hasName("MyClass"), hasChild(id("child", recordDecl())))
182 CXXRecordDecl> recordDecl;
    [all...]

Completed in 81 milliseconds