Searched refs:MatchQuery (Results 1 – 5 of 5) sorted by relevance
/external/llvm-project/clang-tools-extra/unittests/clang-query/ |
D | QueryEngineTest.cpp | 74 EXPECT_TRUE(MatchQuery("functionDecl()", FnMatcher).run(OS, S)); in TEST_F() 88 EXPECT_TRUE(MatchQuery(FooMatcherString, FooMatcher).run(OS, S)); in TEST_F() 98 EXPECT_TRUE(MatchQuery(FooMatcherString, FooMatcher).run(OS, S)); in TEST_F() 107 EXPECT_TRUE(MatchQuery(FooMatcherString, FooMatcher).run(OS, S)); in TEST_F() 115 EXPECT_TRUE(MatchQuery(FooMatcherString, FooMatcher).run(OS, S)); in TEST_F() 127 EXPECT_TRUE(MatchQuery(FooMatcherString, FooMatcher).run(OS, S)); in TEST_F() 133 EXPECT_FALSE(MatchQuery("isMain()", isMain()).run(OS, S)); in TEST_F()
|
D | QueryParserTest.cpp | 129 ASSERT_TRUE(isa<MatchQuery>(Q)); in TEST_F() 130 EXPECT_TRUE(cast<MatchQuery>(Q)->Matcher.canConvertTo<Decl>()); in TEST_F() 133 ASSERT_TRUE(isa<MatchQuery>(Q)); in TEST_F() 134 EXPECT_TRUE(cast<MatchQuery>(Q)->Matcher.canConvertTo<Stmt>()); in TEST_F() 290 ASSERT_TRUE(isa<MatchQuery>(Q)); in TEST_F() 300 ASSERT_TRUE(isa<MatchQuery>(Q)); in TEST_F() 318 ASSERT_TRUE(isa<MatchQuery>(Q)); in TEST_F() 367 ASSERT_TRUE(isa<MatchQuery>(Q)); in TEST_F() 382 ASSERT_TRUE(isa<MatchQuery>(Q)); in TEST_F() 406 ASSERT_TRUE(isa<MatchQuery>(Q)); in TEST_F()
|
/external/llvm-project/clang-tools-extra/clang-query/ |
D | Query.h | 89 struct MatchQuery : Query { struct 90 MatchQuery(StringRef Source, in MatchQuery() argument
|
D | Query.cpp | 93 bool MatchQuery::run(llvm::raw_ostream &OS, QuerySession &QS) const { in run()
|
D | QueryParser.cpp | 280 auto *Q = new MatchQuery(ActualSource, *Matcher); in doParse()
|