Home
last modified time | relevance | path

Searched refs:SingleMatcher (Results 1 – 7 of 7) sorted by relevance

/external/clang/unittests/ASTMatchers/Dynamic/
DVariantValueTest.cpp48 VariantValue Value = VariantMatcher::SingleMatcher(stmt()); in TEST()
60 Value = VariantMatcher::SingleMatcher(recordDecl()); in TEST()
66 Value = VariantMatcher::SingleMatcher(ignoringImpCasts(expr())); in TEST()
85 Value = VariantMatcher::SingleMatcher(recordDecl()); in TEST()
128 EXPECT_TRUE(matches("class X {};", VariantValue(VariantMatcher::SingleMatcher( in TEST()
133 matches("int x;", VariantValue(VariantMatcher::SingleMatcher(varDecl())) in TEST()
138 VariantValue(VariantMatcher::SingleMatcher(functionDecl())) in TEST()
142 EXPECT_FALSE(VariantValue(VariantMatcher::SingleMatcher(varDecl())) in TEST()
149 EXPECT_DEATH(VariantValue(VariantMatcher::SingleMatcher(varDecl())) in TEST()
156 "int x;", VariantValue(VariantMatcher::SingleMatcher(functionDecl())) in TEST()
[all …]
DParserTest.cpp61 return VariantMatcher::SingleMatcher(Matcher->second); in actOnMatcherExpression()
167 VariantMatcher::SingleMatcher(hasParameter(0, hasName("a"))); in getTestNamedValues()
DRegistryTest.cpp217 "loc", VariantMatcher::SingleMatcher(nestedNameSpecifier( in TEST_F()
248 VariantMatcher::SingleMatcher(Anything)).getTypedMatcher<Decl>(); in TEST_F()
/external/clang/include/clang/ASTMatchers/Dynamic/
DVariantValue.h139 static VariantMatcher SingleMatcher(const DynTypedMatcher &Matcher);
/external/clang/lib/ASTMatchers/Dynamic/
DVariantValue.cpp218 VariantMatcher VariantMatcher::SingleMatcher(const DynTypedMatcher &Matcher) { in SingleMatcher() function in clang::ast_matchers::dynamic::VariantMatcher
DRegistry.cpp519 return VariantMatcher::SingleMatcher(*Bound); in constructBoundMatcher()
DMarshallers.h231 return VariantMatcher::SingleMatcher(Matcher);