clang-tools 20.0.0git
|
#include <Query.h>
Public Member Functions | |
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 . | |
Public Attributes | |
StringRef | RemainingContent |
const QueryKind | Kind |
|
pure virtual |
Perform the query on QS
and print output to OS
.
Implemented in clang::query::InvalidQuery, clang::query::NoOpQuery, clang::query::HelpQuery, clang::query::QuitQuery, clang::query::MatchQuery, clang::query::LetQuery, clang::query::SetQuery< T >, clang::query::SetExclusiveOutputQuery, clang::query::SetNonExclusiveOutputQuery, and clang::query::FileQuery.
Referenced by runCommandsInFile().
const QueryKind clang::query::Query::Kind |
Definition at line 49 of file Query.h.
Referenced by clang::query::InvalidQuery::classof(), clang::query::NoOpQuery::classof(), clang::query::HelpQuery::classof(), clang::query::QuitQuery::classof(), clang::query::MatchQuery::classof(), clang::query::LetQuery::classof(), clang::query::SetQuery< T >::classof(), clang::query::SetExclusiveOutputQuery::classof(), clang::query::EnableOutputQuery::classof(), clang::query::DisableOutputQuery::classof(), and clang::query::FileQuery::classof().