clang-tools 22.0.0git
|
#include <Query.h>
Public Member Functions | |
LetQuery (StringRef Name, const ast_matchers::dynamic::VariantValue &Value) | |
bool | run (llvm::raw_ostream &OS, QuerySession &QS) const override |
Perform the query on QS and print output to OS . | |
Public Member Functions inherited from clang::query::Query | |
Query (QueryKind Kind) | |
virtual | ~Query () |
Static Public Member Functions | |
static bool | classof (const Query *Q) |
Public Attributes | |
std::string | Name |
ast_matchers::dynamic::VariantValue | Value |
Public Attributes inherited from clang::query::Query | |
StringRef | RemainingContent |
const QueryKind | Kind |
|
inline |
Definition at line 103 of file Query.h.
References Name, clang::query::QK_Let, clang::query::Query::Query(), and Value.
|
inlinestatic |
Definition at line 110 of file Query.h.
References clang::query::Query::Kind, clang::query::QK_Let, and clang::query::Query::Query().
|
overridevirtual |
Perform the query on QS
and print output to OS
.
Implements clang::query::Query.
Definition at line 205 of file Query.cpp.
References Name, clang::query::QuerySession::NamedValues, and Value.
std::string clang::query::LetQuery::Name |
Definition at line 107 of file Query.h.
Referenced by LetQuery(), and run().
ast_matchers::dynamic::VariantValue clang::query::LetQuery::Value |
Definition at line 108 of file Query.h.
Referenced by LetQuery(), and run().