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

#include <Query.h>

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

Public Member Functions

 SetExclusiveOutputQuery (bool QuerySession::*Var)
 
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

bool QuerySession::* Var
 
- Public Attributes inherited from clang::query::Query
StringRef RemainingContent
 
const QueryKind Kind
 

Detailed Description

Definition at line 145 of file Query.h.

Constructor & Destructor Documentation

◆ SetExclusiveOutputQuery()

clang::query::SetExclusiveOutputQuery::SetExclusiveOutputQuery ( bool QuerySession::*  Var)
inline

Definition at line 146 of file Query.h.

Member Function Documentation

◆ classof()

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

Definition at line 156 of file Query.h.

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

◆ run()

bool clang::query::SetExclusiveOutputQuery::run ( llvm::raw_ostream &  OS,
QuerySession QS 
) const
inlineoverridevirtual

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 148 of file Query.h.

References clang::query::QuerySession::DetailedASTOutput, clang::query::QuerySession::DiagOutput, clang::query::QuerySession::PrintOutput, and Var.

Member Data Documentation

◆ Var

bool QuerySession::* clang::query::SetExclusiveOutputQuery::Var

Definition at line 158 of file Query.h.

Referenced by run().


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