clang-tools
8.0.0
|
Query for "match MATCHER". More...
#include <Query.h>
Public Member Functions | |
MatchQuery (StringRef Source, const ast_matchers::dynamic::DynTypedMatcher &Matcher) | |
bool | run (llvm::raw_ostream &OS, QuerySession &QS) const override |
Perform the query on QS and print output to OS . More... | |
![]() | |
Query (QueryKind Kind) | |
virtual | ~Query () |
Static Public Member Functions | |
static bool | classof (const Query *Q) |
Public Attributes | |
ast_matchers::dynamic::DynTypedMatcher | Matcher |
StringRef | Source |
![]() | |
const QueryKind | Kind |
|
inline |
Definition at line 89 of file Query.h.
References clang::query::Query::run().
|
inlinestatic |
Definition at line 98 of file Query.h.
References clang::query::Query::Kind, and clang::query::QK_Match.
|
overridevirtual |
Perform the query on QS
and print output to OS
.
Implements clang::query::Query.
Definition at line 84 of file Query.cpp.
References clang::query::QuerySession::ASTs.
ast_matchers::dynamic::DynTypedMatcher clang::query::MatchQuery::Matcher |