clang-tools 20.0.0git
|
Any query which resulted in a parse error. The error message is in ErrStr. More...
#include <Query.h>
Public Member Functions | |
InvalidQuery (const Twine &ErrStr) | |
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 () |
virtual bool | run (llvm::raw_ostream &OS, QuerySession &QS) const =0 |
Perform the query on QS and print output to OS . | |
Static Public Member Functions | |
static bool | classof (const Query *Q) |
Public Attributes | |
std::string | ErrStr |
Public Attributes inherited from clang::query::Query | |
StringRef | RemainingContent |
const QueryKind | Kind |
Any query which resulted in a parse error. The error message is in ErrStr.
|
inline |
|
inlinestatic |
Definition at line 61 of file Query.h.
References clang::query::Query::Kind, and clang::query::QK_Invalid.
|
overridevirtual |
Perform the query on QS
and print output to OS
.
Implements clang::query::Query.
std::string clang::query::InvalidQuery::ErrStr |