Searched refs:SingleMatcher (Results 1 – 7 of 7) sorted by relevance
45 VariantValue Value = VariantMatcher::SingleMatcher(stmt()); in TEST()57 Value = VariantMatcher::SingleMatcher(recordDecl()); in TEST()63 Value = VariantMatcher::SingleMatcher(ignoringImpCasts(expr())); in TEST()82 Value = VariantMatcher::SingleMatcher(recordDecl()); in TEST()125 EXPECT_TRUE(matches("class X {};", VariantValue(VariantMatcher::SingleMatcher( in TEST()130 matches("int x;", VariantValue(VariantMatcher::SingleMatcher(varDecl())) in TEST()135 VariantValue(VariantMatcher::SingleMatcher(functionDecl())) in TEST()139 EXPECT_FALSE(VariantValue(VariantMatcher::SingleMatcher(varDecl())) in TEST()146 EXPECT_DEATH(VariantValue(VariantMatcher::SingleMatcher(varDecl())) in TEST()153 "int x;", VariantValue(VariantMatcher::SingleMatcher(functionDecl())) in TEST()[all …]
61 return VariantMatcher::SingleMatcher(Matcher->second); in actOnMatcherExpression()167 VariantMatcher::SingleMatcher(hasParameter(0, hasName("a"))); in getTestNamedValues()
217 "loc", VariantMatcher::SingleMatcher(nestedNameSpecifier( in TEST_F()248 VariantMatcher::SingleMatcher(Anything)).getTypedMatcher<Decl>(); in TEST_F()
139 static VariantMatcher SingleMatcher(const DynTypedMatcher &Matcher);
218 VariantMatcher VariantMatcher::SingleMatcher(const DynTypedMatcher &Matcher) { in SingleMatcher() function in clang::ast_matchers::dynamic::VariantMatcher
591 return VariantMatcher::SingleMatcher(*Bound); in constructBoundMatcher()
252 return VariantMatcher::SingleMatcher(Matcher);