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

#include "clang/Analysis/CFG.h"

Collaboration diagram for clang::CFG::BuildOptions:
Collaboration graph
[legend]

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 AddStaticInitBranches = false
 
bool AddCXXNewAllocator = false
 
bool AddCXXDefaultInitExprInCtors = false
 

Detailed Description

Definition at line 840 of file CFG.h.

Member Typedef Documentation

◆ ForcedBlkExprs

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

Definition at line 844 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 861 of file CFG.h.

References clang::Stmt::getStmtClass().

◆ setAllAlwaysAdd()

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

Definition at line 870 of file CFG.h.

References clang::C.

Referenced by clang::sema::AnalysisBasedWarnings::IssueWarnings().

◆ setAlwaysAdd()

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

Definition at line 865 of file CFG.h.

Referenced by clang::sema::AnalysisBasedWarnings::IssueWarnings().

Member Data Documentation

◆ AddCXXDefaultInitExprInCtors

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

Definition at line 857 of file CFG.h.

Referenced by clang::sema::AnalysisBasedWarnings::IssueWarnings().

◆ AddCXXNewAllocator

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

◆ AddEHEdges

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

◆ 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

◆ AddStaticInitBranches

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

◆ AddTemporaryDtors

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

◆ forcedBlkExprs

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

Definition at line 846 of file CFG.h.

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

◆ Observer

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

◆ PruneTriviallyFalseEdges

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

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