Searched refs:QueryParser (Results 1 – 7 of 7) sorted by relevance
/external/llvm-project/clang-tools-extra/clang-query/ |
D | QueryParser.cpp | 28 StringRef QueryParser::lexWord() { in lexWord() 52 template <typename T> struct QueryParser::LexOrCompleteWord { 56 QueryParser *P; 64 LexOrCompleteWord(QueryParser *P, StringRef &OutWord) in LexOrCompleteWord() 93 QueryRef QueryParser::parseSetBool(bool QuerySession::*Var) { in parseSetBool() 105 template <typename QueryType> QueryRef QueryParser::parseSetOutputKind() { in parseSetOutputKind() 131 QueryRef QueryParser::parseSetTraversalKind( in parseSetTraversalKind() 147 QueryRef QueryParser::endQuery(QueryRef Q) { in endQuery() 203 QueryRef QueryParser::completeMatcherExpression() { in completeMatcherExpression() 212 QueryRef QueryParser::doParse() { in doParse() [all …]
|
D | QueryParser.h | 22 class QueryParser { 38 QueryParser(StringRef Line, const QuerySession &QS) in QueryParser() function
|
D | CMakeLists.txt | 9 QueryParser.cpp
|
/external/llvm-project/clang-tools-extra/unittests/clang-query/ |
D | QueryParserTest.cpp | 21 QueryRef parse(StringRef Code) { return QueryParser::parse(Code, QS); } in parse() 188 QueryParser::complete("", 0, QS); in TEST_F() 207 Comps = QueryParser::complete("set o", 5, QS); in TEST_F() 212 Comps = QueryParser::complete("set t", 5, QS); in TEST_F() 217 Comps = QueryParser::complete("enable ", 7, QS); in TEST_F() 222 Comps = QueryParser::complete("enable output ", 14, QS); in TEST_F() 234 Comps = QueryParser::complete("set traversal ", 14, QS); in TEST_F() 242 Comps = QueryParser::complete("match while", 11, QS); in TEST_F() 248 Comps = QueryParser::complete("m", 1, QS); in TEST_F() 253 Comps = QueryParser::complete("l", 1, QS); in TEST_F()
|
D | QueryEngineTest.cpp | 139 EXPECT_TRUE(QueryParser::parse("let x \"foo1\"", S)->run(OS, S)); in TEST_F() 143 EXPECT_TRUE(QueryParser::parse("let y hasName(x)", S)->run(OS, S)); in TEST_F() 147 EXPECT_TRUE(QueryParser::parse("match functionDecl(y)", S)->run(OS, S)); in TEST_F() 153 EXPECT_TRUE(QueryParser::parse("unlet x", S)->run(OS, S)); in TEST_F() 157 EXPECT_FALSE(QueryParser::parse("let y hasName(x)", S)->run(OS, S)); in TEST_F()
|
/external/llvm-project/clang-tools-extra/clang-query/tool/ |
D | ClangQuery.cpp | 79 QueryRef Q = QueryParser::parse(FileContentRef, QS); in runCommandsInFile() 133 QueryRef Q = QueryParser::parse(Command, QS); in main() 149 return QueryParser::complete(Line, Pos, QS); in main() 152 QueryRef Q = QueryParser::parse(*Line, QS); in main()
|
/external/llvm-project/llvm/utils/gn/secondary/clang-tools-extra/clang-query/ |
D | BUILD.gn | 16 "QueryParser.cpp",
|