clang API Documentation

Public Member Functions
clang::consumed::ConsumedStmtVisitor Class Reference
Inheritance diagram for clang::consumed::ConsumedStmtVisitor:
Inheritance graph
[legend]
Collaboration diagram for clang::consumed::ConsumedStmtVisitor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void checkCallability (const PropagationInfo &PInfo, const FunctionDecl *FunDecl, SourceLocation BlameLoc)
bool handleCall (const CallExpr *Call, const Expr *ObjArg, const FunctionDecl *FunD)
void VisitBinaryOperator (const BinaryOperator *BinOp)
void VisitCallExpr (const CallExpr *Call)
void VisitCastExpr (const CastExpr *Cast)
void VisitCXXBindTemporaryExpr (const CXXBindTemporaryExpr *Temp)
void VisitCXXConstructExpr (const CXXConstructExpr *Call)
void VisitCXXMemberCallExpr (const CXXMemberCallExpr *Call)
void VisitCXXOperatorCallExpr (const CXXOperatorCallExpr *Call)
void VisitDeclRefExpr (const DeclRefExpr *DeclRef)
void VisitDeclStmt (const DeclStmt *DelcS)
void VisitMaterializeTemporaryExpr (const MaterializeTemporaryExpr *Temp)
void VisitMemberExpr (const MemberExpr *MExpr)
void VisitParmVarDecl (const ParmVarDecl *Param)
void VisitReturnStmt (const ReturnStmt *Ret)
void VisitUnaryOperator (const UnaryOperator *UOp)
void VisitVarDecl (const VarDecl *Var)
 ConsumedStmtVisitor (AnalysisDeclContext &AC, ConsumedAnalyzer &Analyzer, ConsumedStateMap *StateMap)
PropagationInfo getInfo (const Expr *StmtNode) const
void reset (ConsumedStateMap *NewStateMap)

Detailed Description

Definition at line 456 of file Consumed.cpp.


Constructor & Destructor Documentation

Definition at line 507 of file Consumed.cpp.


Member Function Documentation

PropagationInfo clang::consumed::ConsumedStmtVisitor::getInfo ( const Expr StmtNode) const [inline]

Definition at line 511 of file Consumed.cpp.

bool clang::consumed::ConsumedStmtVisitor::handleCall ( const CallExpr Call,
const Expr ObjArg,
const FunctionDecl FunD 
)

Definition at line 520 of file Consumed.cpp.

Referenced by clang::consumed::ConsumedAnalyzer::run().

Definition at line 759 of file Consumed.cpp.

References clang::CastExpr::getSubExpr().

Definition at line 763 of file Consumed.cpp.

References clang::CXXBindTemporaryExpr::getSubExpr().

Definition at line 840 of file Consumed.cpp.

References clang::consumed::CS_None, and clang::DeclRefExpr::getDecl().

Definition at line 856 of file Consumed.cpp.

References clang::MaterializeTemporaryExpr::GetTemporaryExpr().

Definition at line 862 of file Consumed.cpp.

References clang::MemberExpr::getBase().


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