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

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 157 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, clang::query::QuerySession::SrcLocOutput, and Var.

Member Data Documentation

◆ Var

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

Definition at line 159 of file Query.h.

Referenced by run().


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