clang-tools  14.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]
Collaboration diagram for clang::query::SetNonExclusiveOutputQuery:
Collaboration 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. More...
 
- Public Member Functions inherited from clang::query::Query
 Query (QueryKind Kind)
 
virtual ~Query ()
 

Public Attributes

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

Detailed Description

Definition at line 163 of file Query.h.

Constructor & Destructor Documentation

◆ SetNonExclusiveOutputQuery()

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

Definition at line 164 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 167 of file Query.h.

References Value, and Var.

Member Data Documentation

◆ Value

bool clang::query::SetNonExclusiveOutputQuery::Value

Definition at line 173 of file Query.h.

Referenced by run().

◆ Var

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

Definition at line 172 of file Query.h.

Referenced by run().


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