Searched refs:LetQuery (Results 1 – 4 of 4) sorted by relevance
138 ASSERT_TRUE(isa<LetQuery>(Q)); in TEST_F()139 EXPECT_EQ("foo", cast<LetQuery>(Q)->Name); in TEST_F()140 EXPECT_TRUE(cast<LetQuery>(Q)->Value.isMatcher()); in TEST_F()141 EXPECT_TRUE(cast<LetQuery>(Q)->Value.getMatcher().hasTypedMatcher<Decl>()); in TEST_F()144 ASSERT_TRUE(isa<LetQuery>(Q)); in TEST_F()145 EXPECT_EQ("foo", cast<LetQuery>(Q)->Name); in TEST_F()146 EXPECT_TRUE(cast<LetQuery>(Q)->Value.isMatcher()); in TEST_F()147 EXPECT_TRUE(cast<LetQuery>(Q)->Value.getMatcher().hasTypedMatcher<Decl>()); in TEST_F()150 ASSERT_TRUE(isa<LetQuery>(Q)); in TEST_F()151 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
258 auto *Q = new LetQuery(Name, Value); in doParse() 349 return endQuery(new LetQuery(Name, VariantValue())); in doParse()
205 bool LetQuery::run(llvm::raw_ostream &OS, QuerySession &QS) const { in run()