clang-tools 20.0.0git
Public Member Functions | Public Attributes | List of all members
clang::query::Query Struct Referenceabstract

#include <Query.h>

Inheritance diagram for clang::query::Query:
Inheritance graph
[legend]

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
 

Detailed Description

Definition at line 39 of file Query.h.

Constructor & Destructor Documentation

◆ Query()

clang::query::Query::Query ( QueryKind  Kind)
inline

Definition at line 40 of file Query.h.

◆ ~Query()

clang::query::Query::~Query ( )
virtual

Definition at line 25 of file Query.cpp.

Member Function Documentation

◆ run()

virtual bool clang::query::Query::run ( llvm::raw_ostream &  OS,
QuerySession QS 
) const
pure virtual

Member Data Documentation

◆ Kind

const QueryKind clang::query::Query::Kind

◆ RemainingContent

StringRef clang::query::Query::RemainingContent

Definition at line 48 of file Query.h.


The documentation for this struct was generated from the following files: