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

#include <Query.h>

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

Public Member Functions

 SetNonExclusiveOutputQuery (QueryKind Kind, bool QuerySession::*Var, bool Value)
 
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.
 

Public Attributes

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

Detailed Description

Definition at line 162 of file Query.h.

Constructor & Destructor Documentation

◆ SetNonExclusiveOutputQuery()

clang::query::SetNonExclusiveOutputQuery::SetNonExclusiveOutputQuery ( QueryKind  Kind,
bool QuerySession::*  Var,
bool  Value 
)
inline

Definition at line 163 of file Query.h.

Member Function Documentation

◆ run()

bool clang::query::SetNonExclusiveOutputQuery::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 166 of file Query.h.

References Value, and Var.

Member Data Documentation

◆ Value

bool clang::query::SetNonExclusiveOutputQuery::Value

Definition at line 172 of file Query.h.

Referenced by run().

◆ Var

bool QuerySession::* clang::query::SetNonExclusiveOutputQuery::Var

Definition at line 171 of file Query.h.

Referenced by run().


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