clang API Documentation

Public Member Functions | Static Public Member Functions
clang::CFGAutomaticObjDtor Class Reference

#include <CFG.h>

Inheritance diagram for clang::CFGAutomaticObjDtor:
Inheritance graph
[legend]
Collaboration diagram for clang::CFGAutomaticObjDtor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CFGAutomaticObjDtor (const VarDecl *var, const Stmt *stmt)
const VarDeclgetVarDecl () const
const StmtgetTriggerStmt () const

Static Public Member Functions

static bool classof (const CFGElement *elem)

Detailed Description

CFGAutomaticObjDtor - Represents C++ object destructor implicitly generated for automatic object or temporary bound to const reference at the point of leaving its local scope.

Definition at line 146 of file CFG.h.


Constructor & Destructor Documentation

clang::CFGAutomaticObjDtor::CFGAutomaticObjDtor ( const VarDecl var,
const Stmt stmt 
) [inline]

Definition at line 148 of file CFG.h.


Member Function Documentation

static bool clang::CFGAutomaticObjDtor::classof ( const CFGElement elem) [inline, static]

Reimplemented from clang::CFGImplicitDtor.

Definition at line 160 of file CFG.h.

References clang::CFGElement::AutomaticObjectDtor, and clang::CFGElement::getKind().

const Stmt* clang::CFGAutomaticObjDtor::getTriggerStmt ( ) const [inline]

Definition at line 156 of file CFG.h.

References clang::CFGElement::Data2.

Referenced by clang::ento::ExprEngine::ProcessAutomaticObjDtor().

const VarDecl* clang::CFGAutomaticObjDtor::getVarDecl ( ) const [inline]

Definition at line 151 of file CFG.h.

References clang::CFGElement::Data1.

Referenced by clang::ento::ExprEngine::ProcessAutomaticObjDtor().


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