clang API Documentation
#include <CFG.h>


Public Member Functions | |
| const CXXDestructorDecl * | getDestructorDecl (ASTContext &astContext) const |
| bool | isNoReturn (ASTContext &astContext) const |
Static Public Member Functions | |
| static bool | classof (const CFGElement *E) |
Protected Member Functions | |
| CFGImplicitDtor (Kind kind, const void *data1, const void *data2=0) | |
CFGImplicitDtor - Represents C++ object destructor implicitly generated by compiler on various occasions.
| clang::CFGImplicitDtor::CFGImplicitDtor | ( | Kind | kind, |
| const void * | data1, | ||
| const void * | data2 = 0 |
||
| ) | [inline, protected] |
Definition at line 128 of file CFG.h.
References clang::CFGElement::DTOR_BEGIN, and clang::CFGElement::DTOR_END.
| static bool clang::CFGImplicitDtor::classof | ( | const CFGElement * | E | ) | [inline, static] |
Reimplemented from clang::CFGElement.
Reimplemented in clang::CFGTemporaryDtor, clang::CFGMemberDtor, clang::CFGBaseDtor, and clang::CFGAutomaticObjDtor.
Definition at line 137 of file CFG.h.
References clang::CFGElement::DTOR_BEGIN, clang::CFGElement::DTOR_END, and clang::CFGElement::getKind().
| const CXXDestructorDecl * CFGImplicitDtor::getDestructorDecl | ( | ASTContext & | astContext | ) | const |
Definition at line 3168 of file CFG.cpp.
References clang::CFGElement::AutomaticObjectDtor, clang::CFGElement::BaseDtor, clang::ASTContext::getAsArrayType(), clang::RecordType::getDecl(), clang::CXXTemporary::getDestructor(), clang::CXXRecordDecl::getDestructor(), clang::CFGElement::getKind(), clang::QualType::getNonReferenceType(), clang::CXXBindTemporaryExpr::getTemporary(), clang::ValueDecl::getType(), clang::CFGElement::Initializer, clang::CFGElement::Invalid, clang::CFGElement::MemberDtor, clang::CFGElement::Statement, and clang::CFGElement::TemporaryDtor.
Referenced by isNoReturn().
| bool CFGImplicitDtor::isNoReturn | ( | ASTContext & | astContext | ) | const |
Definition at line 3202 of file CFG.cpp.
References getDestructorDecl().