reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/tools/extra/clang-query/QueryParser.h
   27   static QueryRef parse(StringRef Line, const QuerySession &QS);

References

tools/clang/tools/extra/clang-query/tool/ClangQuery.cpp
   76     QueryRef Q = QueryParser::parse(Line, QS);
  120       QueryRef Q = QueryParser::parse(*I, QS);
  139       QueryRef Q = QueryParser::parse(*Line, QS);
tools/clang/tools/extra/unittests/clang-query/QueryEngineTest.cpp
  139   EXPECT_TRUE(QueryParser::parse("let x \"foo1\"", S)->run(OS, S));
  143   EXPECT_TRUE(QueryParser::parse("let y hasName(x)", S)->run(OS, S));
  147   EXPECT_TRUE(QueryParser::parse("match functionDecl(y)", S)->run(OS, S));
  153   EXPECT_TRUE(QueryParser::parse("unlet x", S)->run(OS, S));
  157   EXPECT_FALSE(QueryParser::parse("let y hasName(x)", S)->run(OS, S));
tools/clang/tools/extra/unittests/clang-query/QueryParserTest.cpp
   21   QueryRef parse(StringRef Code) { return QueryParser::parse(Code, QS); }