clang 24.0.0git
clang::CIRGen::CIRGenFunction::CapturedCleanups::CaptureScope Class Reference

An RAII class that suppresses cir.cleanup.scope creation for cleanups pushed onto the EH stack while such a variable is being emitted and instead captures these cleanups so that they can be emitted into the owning op's cleanup region later. More...

#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CIR/CodeGen/CIRGenFunction.h"

Public Member Functions

 CaptureScope (CapturedCleanups &scope)
 ~CaptureScope ()
 CaptureScope (const CaptureScope &)=delete
void operator= (const CaptureScope &)=delete

Detailed Description

An RAII class that suppresses cir.cleanup.scope creation for cleanups pushed onto the EH stack while such a variable is being emitted and instead captures these cleanups so that they can be emitted into the owning op's cleanup region later.

Definition at line 1517 of file CIRGenFunction.h.

Constructor & Destructor Documentation

◆ CaptureScope() [1/2]

clang::CIRGen::CIRGenFunction::CapturedCleanups::CaptureScope::CaptureScope ( CapturedCleanups & scope)
inlineexplicit

◆ ~CaptureScope()

clang::CIRGen::CIRGenFunction::CapturedCleanups::CaptureScope::~CaptureScope ( )
inline

Definition at line 1530 of file CIRGenFunction.h.

◆ CaptureScope() [2/2]

clang::CIRGen::CIRGenFunction::CapturedCleanups::CaptureScope::CaptureScope ( const CaptureScope & )
delete

References CaptureScope().

Member Function Documentation

◆ operator=()

void clang::CIRGen::CIRGenFunction::CapturedCleanups::CaptureScope::operator= ( const CaptureScope & )
delete

References CaptureScope().


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