clang 22.0.0git
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:
[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 551 of file CGCleanup.h.

Constructor & Destructor Documentation

◆ EHTerminateScope()

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

Definition at line 553 of file CGCleanup.h.

References clang::CodeGen::EHScope::EHScope(), and clang::CodeGen::EHScope::Terminate.

Referenced by getSize().

Member Function Documentation

◆ classof()

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

◆ getSize()

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

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