clang 20.0.0git
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 "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/CGCleanup.h"

Inheritance diagram for clang::CodeGen::EHTerminateScope:
Inheritance graph
[legend]

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 543 of file CGCleanup.h.

Constructor & Destructor Documentation

◆ EHTerminateScope()

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

Definition at line 545 of file CGCleanup.h.

Member Function Documentation

◆ classof()

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

◆ getSize()

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

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