clang-tools 20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
clang::query::HelpQuery Struct Reference

Query for "help". More...

#include <Query.h>

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

Public Member Functions

 HelpQuery ()
 
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)
 

Additional Inherited Members

- Public Attributes inherited from clang::query::Query
StringRef RemainingContent
 
const QueryKind Kind
 

Detailed Description

Query for "help".

Definition at line 73 of file Query.h.

Constructor & Destructor Documentation

◆ HelpQuery()

clang::query::HelpQuery::HelpQuery ( )
inline

Definition at line 74 of file Query.h.

Member Function Documentation

◆ classof()

static bool clang::query::HelpQuery::classof ( const Query Q)
inlinestatic

Definition at line 77 of file Query.h.

References clang::query::Query::Kind, and clang::query::QK_Help.

◆ run()

bool clang::query::HelpQuery::run ( llvm::raw_ostream &  OS,
QuerySession QS 
) const
overridevirtual

Perform the query on QS and print output to OS.

Returns
false if an error occurs, otherwise return true.

Implements clang::query::Query.

Definition at line 36 of file Query.cpp.

References OS.


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