clang  10.0.0svn
Public Member Functions | Static Public Member Functions | List of all members
clang::CodeGen::EHTerminateScope Class Reference

An exceptions scope which calls std::terminate if any exception reaches it. More...

#include "/opt/doxygen-docs/src/llvm/tools/clang/lib/CodeGen/CGCleanup.h"

Inheritance diagram for clang::CodeGen::EHTerminateScope:
Inheritance graph
Collaboration diagram for clang::CodeGen::EHTerminateScope:
Collaboration graph

Public Member Functions

 EHTerminateScope (EHScopeStack::stable_iterator enclosingEHScope)
- Public Member Functions inherited from clang::CodeGen::EHScope
 EHScope (Kind kind, EHScopeStack::stable_iterator enclosingEHScope)
Kind getKind () const
llvm::BasicBlock * getCachedLandingPad () const
void setCachedLandingPad (llvm::BasicBlock *block)
llvm::BasicBlock * getCachedEHDispatchBlock () const
void setCachedEHDispatchBlock (llvm::BasicBlock *block)
bool hasEHBranches () const
EHScopeStack::stable_iterator getEnclosingEHScope () const

Static Public Member Functions

static size_t getSize ()
static bool classof (const EHScope *scope)

Additional Inherited Members

- Public Types inherited from clang::CodeGen::EHScope
enum  Kind {
  Cleanup, Catch, Terminate, Filter,
- Protected Attributes inherited from clang::CodeGen::EHScope
union {
   CommonBitFields   CommonBits
   CatchBitFields   CatchBits
   CleanupBitFields   CleanupBits
   FilterBitFields   FilterBits

Detailed Description

An exceptions scope which calls std::terminate if any exception reaches it.

Definition at line 479 of file CGCleanup.h.

Constructor & Destructor Documentation

◆ EHTerminateScope()

clang::CodeGen::EHTerminateScope::EHTerminateScope ( EHScopeStack::stable_iterator  enclosingEHScope)

Definition at line 481 of file CGCleanup.h.

Member Function Documentation

◆ classof()

static bool clang::CodeGen::EHTerminateScope::classof ( const EHScope scope)

Definition at line 485 of file CGCleanup.h.

References clang::CodeGen::EHScope::getKind().

◆ getSize()

static size_t clang::CodeGen::EHTerminateScope::getSize ( )

Definition at line 483 of file CGCleanup.h.

Referenced by clang::CodeGen::EHScopeStack::pushTerminate().

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