clang-tools 19.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>

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.

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

◆ DetailedASTOutput

bool clang::query::QuerySession::DetailedASTOutput

◆ DiagOutput

bool clang::query::QuerySession::DiagOutput

◆ 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.

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

◆ PrintOutput

bool clang::query::QuerySession::PrintOutput

◆ SrcLocOutput

bool clang::query::QuerySession::SrcLocOutput

◆ 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.

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


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