clang  6.0.0svn
Classes | Public Member Functions | List of all members
clang::consumed::PropagationInfo Class Reference
Collaboration diagram for clang::consumed::PropagationInfo:
Collaboration graph
[legend]

Public Member Functions

 PropagationInfo ()
 
 PropagationInfo (const VarTestResult &VarTest)
 
 PropagationInfo (const VarDecl *Var, ConsumedState TestsFor)
 
 PropagationInfo (const BinaryOperator *Source, EffectiveOp EOp, const VarTestResult &LTest, const VarTestResult &RTest)
 
 PropagationInfo (const BinaryOperator *Source, EffectiveOp EOp, const VarDecl *LVar, ConsumedState LTestsFor, const VarDecl *RVar, ConsumedState RTestsFor)
 
 PropagationInfo (ConsumedState State)
 
 PropagationInfo (const VarDecl *Var)
 
 PropagationInfo (const CXXBindTemporaryExpr *Tmp)
 
const ConsumedStategetState () const
 
const VarTestResult & getVarTest () const
 
const VarTestResult & getLTest () const
 
const VarTestResult & getRTest () const
 
const VarDeclgetVar () const
 
const CXXBindTemporaryExprgetTmp () const
 
ConsumedState getAsState (const ConsumedStateMap *StateMap) const
 
EffectiveOp testEffectiveOp () const
 
const BinaryOperatortestSourceNode () const
 
bool isValid () const
 
bool isState () const
 
bool isVarTest () const
 
bool isBinTest () const
 
bool isVar () const
 
bool isTmp () const
 
bool isTest () const
 
bool isPointerToValue () const
 
PropagationInfo invertTest () const
 

Detailed Description

Definition at line 287 of file Consumed.cpp.

Constructor & Destructor Documentation

◆ PropagationInfo() [1/8]

clang::consumed::PropagationInfo::PropagationInfo ( )
inline

Definition at line 313 of file Consumed.cpp.

◆ PropagationInfo() [2/8]

clang::consumed::PropagationInfo::PropagationInfo ( const VarTestResult &  VarTest)
inline

Definition at line 315 of file Consumed.cpp.

◆ PropagationInfo() [3/8]

clang::consumed::PropagationInfo::PropagationInfo ( const VarDecl Var,
ConsumedState  TestsFor 
)
inline

Definition at line 318 of file Consumed.cpp.

◆ PropagationInfo() [4/8]

clang::consumed::PropagationInfo::PropagationInfo ( const BinaryOperator Source,
EffectiveOp  EOp,
const VarTestResult &  LTest,
const VarTestResult &  RTest 
)
inline

Definition at line 325 of file Consumed.cpp.

◆ PropagationInfo() [5/8]

clang::consumed::PropagationInfo::PropagationInfo ( const BinaryOperator Source,
EffectiveOp  EOp,
const VarDecl LVar,
ConsumedState  LTestsFor,
const VarDecl RVar,
ConsumedState  RTestsFor 
)
inline

Definition at line 335 of file Consumed.cpp.

◆ PropagationInfo() [6/8]

clang::consumed::PropagationInfo::PropagationInfo ( ConsumedState  State)
inline

Definition at line 348 of file Consumed.cpp.

◆ PropagationInfo() [7/8]

clang::consumed::PropagationInfo::PropagationInfo ( const VarDecl Var)
inline

Definition at line 351 of file Consumed.cpp.

◆ PropagationInfo() [8/8]

clang::consumed::PropagationInfo::PropagationInfo ( const CXXBindTemporaryExpr Tmp)
inline

Definition at line 352 of file Consumed.cpp.

Member Function Documentation

◆ getAsState()

ConsumedState clang::consumed::PropagationInfo::getAsState ( const ConsumedStateMap StateMap) const
inline

◆ getLTest()

const VarTestResult& clang::consumed::PropagationInfo::getLTest ( ) const
inline

Definition at line 365 of file Consumed.cpp.

Referenced by clang::consumed::splitVarStateForIfBinOp().

◆ getRTest()

const VarTestResult& clang::consumed::PropagationInfo::getRTest ( ) const
inline

Definition at line 370 of file Consumed.cpp.

Referenced by clang::consumed::splitVarStateForIfBinOp().

◆ getState()

const ConsumedState& clang::consumed::PropagationInfo::getState ( ) const
inline

Definition at line 355 of file Consumed.cpp.

References State.

◆ getTmp()

const CXXBindTemporaryExpr* clang::consumed::PropagationInfo::getTmp ( ) const
inline

◆ getVar()

const VarDecl* clang::consumed::PropagationInfo::getVar ( ) const
inline

◆ getVarTest()

const VarTestResult& clang::consumed::PropagationInfo::getVarTest ( ) const
inline

Definition at line 360 of file Consumed.cpp.

Referenced by clang::consumed::ConsumedStateMap::operator!=().

◆ invertTest()

PropagationInfo clang::consumed::PropagationInfo::invertTest ( ) const
inline

◆ isBinTest()

bool clang::consumed::PropagationInfo::isBinTest ( ) const
inline

Definition at line 411 of file Consumed.cpp.

Referenced by clang::consumed::ConsumedStateMap::operator!=().

◆ isPointerToValue()

bool clang::consumed::PropagationInfo::isPointerToValue ( ) const
inline

Definition at line 419 of file Consumed.cpp.

Referenced by clang::consumed::ConsumedStmtVisitor::reset().

◆ isState()

bool clang::consumed::PropagationInfo::isState ( ) const
inline

Definition at line 409 of file Consumed.cpp.

◆ isTest()

bool clang::consumed::PropagationInfo::isTest ( ) const
inline

◆ isTmp()

bool clang::consumed::PropagationInfo::isTmp ( ) const
inline

◆ isValid()

bool clang::consumed::PropagationInfo::isValid ( ) const
inline

Definition at line 408 of file Consumed.cpp.

Referenced by clang::consumed::ConsumedStateMap::operator!=().

◆ isVar()

bool clang::consumed::PropagationInfo::isVar ( ) const
inline

◆ isVarTest()

bool clang::consumed::PropagationInfo::isVarTest ( ) const
inline

Definition at line 410 of file Consumed.cpp.

Referenced by clang::consumed::ConsumedStateMap::operator!=().

◆ testEffectiveOp()

EffectiveOp clang::consumed::PropagationInfo::testEffectiveOp ( ) const
inline

Definition at line 398 of file Consumed.cpp.

Referenced by clang::consumed::splitVarStateForIfBinOp().

◆ testSourceNode()

const BinaryOperator* clang::consumed::PropagationInfo::testSourceNode ( ) const
inline

Definition at line 403 of file Consumed.cpp.

Referenced by clang::consumed::ConsumedStateMap::operator!=().

Member Data Documentation

◆ BinTest

BinTestTy clang::consumed::PropagationInfo::BinTest

Definition at line 309 of file Consumed.cpp.

◆ State

ConsumedState clang::consumed::PropagationInfo::State

Definition at line 305 of file Consumed.cpp.

◆ Tmp

const CXXBindTemporaryExpr* clang::consumed::PropagationInfo::Tmp

Definition at line 308 of file Consumed.cpp.

◆ Var

const VarDecl* clang::consumed::PropagationInfo::Var

Definition at line 307 of file Consumed.cpp.

◆ VarTest

VarTestResult clang::consumed::PropagationInfo::VarTest

Definition at line 306 of file Consumed.cpp.


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