clang-tools  14.0.0git
Public Member Functions | Public Attributes | List of all members
clang::query::QuerySession Class Reference

Represents the state for a particular clang-query session. More...

#include <QuerySession.h>

Collaboration diagram for clang::query::QuerySession:
Collaboration graph
[legend]

Public Member Functions

 QuerySession (llvm::ArrayRef< std::unique_ptr< ASTUnit >> ASTs)
 

Public Attributes

llvm::ArrayRef< std::unique_ptr< ASTUnit > > ASTs
 
bool PrintOutput
 
bool DiagOutput
 
bool DetailedASTOutput
 
bool SrcLocOutput
 
bool BindRoot
 
bool PrintMatcher
 
bool Terminate
 
TraversalKind TK
 
llvm::StringMap< ast_matchers::dynamic::VariantValue > NamedValues
 

Detailed Description

Represents the state for a particular clang-query session.

Definition at line 24 of file QuerySession.h.

Constructor & Destructor Documentation

◆ QuerySession()

clang::query::QuerySession::QuerySession ( llvm::ArrayRef< std::unique_ptr< ASTUnit >>  ASTs)
inline

Definition at line 26 of file QuerySession.h.

Member Data Documentation

◆ ASTs

llvm::ArrayRef<std::unique_ptr<ASTUnit> > clang::query::QuerySession::ASTs

Definition at line 31 of file QuerySession.h.

Referenced by clang::query::MatchQuery::run().

◆ BindRoot

bool clang::query::QuerySession::BindRoot

Definition at line 38 of file QuerySession.h.

◆ DetailedASTOutput

bool clang::query::QuerySession::DetailedASTOutput

Definition at line 35 of file QuerySession.h.

Referenced by clang::query::SetExclusiveOutputQuery::run().

◆ DiagOutput

bool clang::query::QuerySession::DiagOutput

Definition at line 34 of file QuerySession.h.

Referenced by clang::query::SetExclusiveOutputQuery::run().

◆ NamedValues

llvm::StringMap<ast_matchers::dynamic::VariantValue> clang::query::QuerySession::NamedValues

Definition at line 43 of file QuerySession.h.

Referenced by clang::query::LetQuery::run().

◆ PrintMatcher

bool clang::query::QuerySession::PrintMatcher

Definition at line 39 of file QuerySession.h.

◆ PrintOutput

bool clang::query::QuerySession::PrintOutput

Definition at line 33 of file QuerySession.h.

Referenced by clang::query::SetExclusiveOutputQuery::run().

◆ SrcLocOutput

bool clang::query::QuerySession::SrcLocOutput

Definition at line 36 of file QuerySession.h.

Referenced by clang::query::SetExclusiveOutputQuery::run().

◆ Terminate

bool clang::query::QuerySession::Terminate

Definition at line 40 of file QuerySession.h.

Referenced by main(), and clang::query::QuitQuery::run().

◆ TK

TraversalKind clang::query::QuerySession::TK

Definition at line 42 of file QuerySession.h.


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