clang-tools 22.0.0git
clang::query::SetNonExclusiveOutputQuery Struct Reference

#include <Query.h>

Inheritance diagram for clang::query::SetNonExclusiveOutputQuery:
[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 ()

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

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(), and SetNonExclusiveOutputQuery().

◆ Var

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

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