clang-tools 22.0.0git
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 BindRoot
bool PrintMatcher
bool EnableProfile
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

Member Data Documentation

◆ ASTs

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

Definition at line 31 of file QuerySession.h.

Referenced by QuerySession(), and clang::query::MatchQuery::run().

◆ BindRoot

bool clang::query::QuerySession::BindRoot

Definition at line 37 of file QuerySession.h.

Referenced by QuerySession(), and clang::query::MatchQuery::run().

◆ DetailedASTOutput

bool clang::query::QuerySession::DetailedASTOutput

◆ DiagOutput

bool clang::query::QuerySession::DiagOutput

◆ EnableProfile

bool clang::query::QuerySession::EnableProfile

Definition at line 39 of file QuerySession.h.

Referenced by QuerySession(), and clang::query::MatchQuery::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 38 of file QuerySession.h.

Referenced by QuerySession(), and clang::query::MatchQuery::run().

◆ PrintOutput

bool clang::query::QuerySession::PrintOutput

◆ Terminate

bool clang::query::QuerySession::Terminate

Definition at line 40 of file QuerySession.h.

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

◆ TK

TraversalKind clang::query::QuerySession::TK

Definition at line 42 of file QuerySession.h.

Referenced by QuerySession(), and clang::query::MatchQuery::run().


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