Searched refs:LetQuery (Results 1 – 4 of 4) sorted by relevance
139 ASSERT_TRUE(isa<LetQuery>(Q)); in TEST_F()140 EXPECT_EQ("foo", cast<LetQuery>(Q)->Name); in TEST_F()141 EXPECT_TRUE(cast<LetQuery>(Q)->Value.isMatcher()); in TEST_F()142 EXPECT_TRUE(cast<LetQuery>(Q)->Value.getMatcher().hasTypedMatcher<Decl>()); in TEST_F()145 ASSERT_TRUE(isa<LetQuery>(Q)); in TEST_F()146 EXPECT_EQ("foo", cast<LetQuery>(Q)->Name); in TEST_F()147 EXPECT_TRUE(cast<LetQuery>(Q)->Value.isMatcher()); in TEST_F()148 EXPECT_TRUE(cast<LetQuery>(Q)->Value.getMatcher().hasTypedMatcher<Decl>()); in TEST_F()151 ASSERT_TRUE(isa<LetQuery>(Q)); in TEST_F()152 EXPECT_EQ("bar", cast<LetQuery>(Q)->Name); in TEST_F()[all …]
102 struct LetQuery : Query { struct103 LetQuery(StringRef Name, const ast_matchers::dynamic::VariantValue &Value) in LetQuery() function
261 auto *Q = new LetQuery(Name, Value); in doParse()348 return endQuery(new LetQuery(Name, VariantValue())); in doParse()
176 bool LetQuery::run(llvm::raw_ostream &OS, QuerySession &QS) const { in run()