clang 20.0.0git
Public Types | Public Member Functions | Public Attributes | List of all members
clang::CFG::BuildOptions Class Reference

#include "clang/Analysis/CFG.h"

Public Types

using ForcedBlkExprs = llvm::DenseMap< const Stmt *, const CFGBlock * >
 

Public Member Functions

 BuildOptions ()=default
 
bool alwaysAdd (const Stmt *stmt) const
 
BuildOptionssetAlwaysAdd (Stmt::StmtClass stmtClass, bool val=true)
 
BuildOptionssetAllAlwaysAdd ()
 

Public Attributes

ForcedBlkExprs ** forcedBlkExprs = nullptr
 
CFGCallbackObserver = nullptr
 
bool PruneTriviallyFalseEdges = true
 
bool AddEHEdges = false
 
bool AddInitializers = false
 
bool AddImplicitDtors = false
 
bool AddLifetime = false
 
bool AddLoopExit = false
 
bool AddTemporaryDtors = false
 
bool AddScopes = false
 
bool AddStaticInitBranches = false
 
bool AddCXXNewAllocator = false
 
bool AddCXXDefaultInitExprInCtors = false
 
bool AddCXXDefaultInitExprInAggregates = false
 
bool AddRichCXXConstructors = false
 
bool MarkElidedCXXConstructors = false
 
bool AddVirtualBaseBranches = false
 
bool OmitImplicitValueInitializers = false
 

Detailed Description

Definition at line 1220 of file CFG.h.

Member Typedef Documentation

◆ ForcedBlkExprs

using clang::CFG::BuildOptions::ForcedBlkExprs = llvm::DenseMap<const Stmt *, const CFGBlock *>

Definition at line 1226 of file CFG.h.

Constructor & Destructor Documentation

◆ BuildOptions()

clang::CFG::BuildOptions::BuildOptions ( )
default

Member Function Documentation

◆ alwaysAdd()

bool clang::CFG::BuildOptions::alwaysAdd ( const Stmt stmt) const
inline

Definition at line 1249 of file CFG.h.

References clang::ast_matchers::stmt.

◆ setAllAlwaysAdd()

BuildOptions & clang::CFG::BuildOptions::setAllAlwaysAdd ( )
inline

Definition at line 1258 of file CFG.h.

Referenced by clang::ento::AnalysisManager::AnalysisManager().

◆ setAlwaysAdd()

BuildOptions & clang::CFG::BuildOptions::setAlwaysAdd ( Stmt::StmtClass  stmtClass,
bool  val = true 
)
inline

Definition at line 1253 of file CFG.h.

Member Data Documentation

◆ AddCXXDefaultInitExprInAggregates

bool clang::CFG::BuildOptions::AddCXXDefaultInitExprInAggregates = false

Definition at line 1241 of file CFG.h.

Referenced by clang::ento::AnalysisManager::AnalysisManager().

◆ AddCXXDefaultInitExprInCtors

bool clang::CFG::BuildOptions::AddCXXDefaultInitExprInCtors = false

Definition at line 1240 of file CFG.h.

◆ AddCXXNewAllocator

bool clang::CFG::BuildOptions::AddCXXNewAllocator = false

◆ AddEHEdges

bool clang::CFG::BuildOptions::AddEHEdges = false

Definition at line 1231 of file CFG.h.

Referenced by clang::AnalysisDeclContext::getAddEHEdges().

◆ AddImplicitDtors

bool clang::CFG::BuildOptions::AddImplicitDtors = false

◆ AddInitializers

bool clang::CFG::BuildOptions::AddInitializers = false

◆ AddLifetime

bool clang::CFG::BuildOptions::AddLifetime = false

◆ AddLoopExit

bool clang::CFG::BuildOptions::AddLoopExit = false

◆ AddRichCXXConstructors

bool clang::CFG::BuildOptions::AddRichCXXConstructors = false

◆ AddScopes

bool clang::CFG::BuildOptions::AddScopes = false

◆ AddStaticInitBranches

bool clang::CFG::BuildOptions::AddStaticInitBranches = false

◆ AddTemporaryDtors

bool clang::CFG::BuildOptions::AddTemporaryDtors = false

◆ AddVirtualBaseBranches

bool clang::CFG::BuildOptions::AddVirtualBaseBranches = false

◆ forcedBlkExprs

ForcedBlkExprs** clang::CFG::BuildOptions::forcedBlkExprs = nullptr

Definition at line 1228 of file CFG.h.

Referenced by clang::AnalysisDeclContext::AnalysisDeclContext().

◆ MarkElidedCXXConstructors

bool clang::CFG::BuildOptions::MarkElidedCXXConstructors = false

◆ Observer

CFGCallback* clang::CFG::BuildOptions::Observer = nullptr

◆ OmitImplicitValueInitializers

bool clang::CFG::BuildOptions::OmitImplicitValueInitializers = false

Definition at line 1245 of file CFG.h.

Referenced by clang::ento::AnalysisManager::AnalysisManager().

◆ PruneTriviallyFalseEdges

bool clang::CFG::BuildOptions::PruneTriviallyFalseEdges = true

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