Searched refs:QueryParser (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clang-query/ |
| H A D | QueryParser.cpp | 29 StringRef QueryParser::lexWord() { in lexWord() 53 template <typename T> struct QueryParser::LexOrCompleteWord { 57 QueryParser *P; 65 LexOrCompleteWord(QueryParser *P, StringRef &OutWord) in LexOrCompleteWord() 94 QueryRef QueryParser::parseSetBool(bool QuerySession::*Var) { in parseSetBool() 152 QueryRef QueryParser::endQuery(QueryRef Q) { in endQuery() 208 QueryRef QueryParser::completeMatcherExpression() { in completeMatcherExpression() 217 QueryRef QueryParser::doParse() { in doParse() 363 QueryRef QueryParser::parse(StringRef Line, const QuerySession &QS) { in parse() 364 return QueryParser(Line, QS).doParse(); in parse() [all …]
|
| H A D | QueryParser.h | 22 class QueryParser { 38 QueryParser(StringRef Line, const QuerySession &QS) in QueryParser() function
|
| H A D | CMakeLists.txt | 9 QueryParser.cpp
|
| /llvm-project-15.0.7/clang-tools-extra/unittests/clang-query/ |
| H A D | QueryParserTest.cpp | 22 QueryRef parse(StringRef Code) { return QueryParser::parse(Code, QS); } in parse() 199 QueryParser::complete("", 0, QS); in TEST_F() 218 Comps = QueryParser::complete("set o", 5, QS); in TEST_F() 223 Comps = QueryParser::complete("set t", 5, QS); in TEST_F() 228 Comps = QueryParser::complete("enable ", 7, QS); in TEST_F() 235 Comps = QueryParser::complete("enable output ", 14, QS); in TEST_F() 251 Comps = QueryParser::complete("set traversal ", 14, QS); in TEST_F() 259 Comps = QueryParser::complete("match while", 11, QS); in TEST_F() 265 Comps = QueryParser::complete("m", 1, QS); in TEST_F() 270 Comps = QueryParser::complete("l", 1, QS); in TEST_F()
|
| H A 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()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-query/tool/ |
| H A D | ClangQuery.cpp | 86 QueryRef Q = QueryParser::parse(FileContentRef, QS); in runCommandsInFile() 153 QueryRef Q = QueryParser::parse(Command, QS); in main() 169 return QueryParser::complete(Line, Pos, QS); in main() 172 QueryRef Q = QueryParser::parse(*Line, QS); in main()
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang-tools-extra/clang-query/ |
| H A D | BUILD.gn | 16 "QueryParser.cpp",
|
| /llvm-project-15.0.7/clang/docs/tools/ |
| H A D | clang-formatted-files.txt | 791 clang-tools-extra/clang-query/QueryParser.h
|