class CFGImplicitDtor

Declaration

class CFGImplicitDtor : public CFGElement { /* full declaration omitted */ };

Description

Represents C++ object destructor implicitly generated by compiler on various occasions.

Declared at: clang/include/clang/Analysis/CFG.h:365

Inherits from: CFGElement

Member Variables

Inherited from CFGElement:

protected Data1
protected Data2

Method Overview

  • protected CFGImplicitDtor()
  • protected CFGImplicitDtor(clang::CFGElement::Kind kind, const void * data1, const void * data2 = nullptr)
  • public const clang::CXXDestructorDecl * getDestructorDecl(clang::ASTContext & astContext) const
  • private static bool isKind(const clang::CFGElement & E)
  • public bool isNoReturn(clang::ASTContext & astContext) const

Inherited from CFGElement:

Methods

CFGImplicitDtor()

Declared at: clang/include/clang/Analysis/CFG.h:367

CFGImplicitDtor(clang::CFGElement::Kind kind,
                const void* data1,
                const void* data2 = nullptr)

Declared at: clang/include/clang/Analysis/CFG.h:369

Parameters

clang::CFGElement::Kind kind
const void* data1
const void* data2 = nullptr

const clang::CXXDestructorDecl* getDestructorDecl(
    clang::ASTContext& astContext) const

Declared at: clang/include/clang/Analysis/CFG.h:375

Parameters

clang::ASTContext& astContext

static bool isKind(const clang::CFGElement& E)

Declared at: clang/include/clang/Analysis/CFG.h:381

Parameters

const clang::CFGElement& E

bool isNoReturn(
    clang::ASTContext& astContext) const

Declared at: clang/include/clang/Analysis/CFG.h:376

Parameters

clang::ASTContext& astContext