clang 24.0.0git
clang::CIRGen::CIRGenFunction::LifetimeExtensionCapture Struct Reference

Set by emitLoopConditionVariable while it emits the initializer of a loop condition variable that lifetime-extends temporaries with a destructor. More...

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

Public Attributes

const clang::ValueDecl * extendingDecl
CapturedCleanups * cleanups
Address activeFlag

Detailed Description

Set by emitLoopConditionVariable while it emits the initializer of a loop condition variable that lifetime-extends temporaries with a destructor.

The cleanups of the temporaries that extendingDecl extends are captured by cleanups for the loop's cleanup region and guarded by activeFlag, instead of opening cir.cleanup.scope operations around the cir.condition.

Definition at line 214 of file CIRGenFunction.h.

Member Data Documentation

◆ activeFlag

Address clang::CIRGen::CIRGenFunction::LifetimeExtensionCapture::activeFlag

Definition at line 217 of file CIRGenFunction.h.

◆ cleanups

CapturedCleanups* clang::CIRGen::CIRGenFunction::LifetimeExtensionCapture::cleanups

Definition at line 216 of file CIRGenFunction.h.

◆ extendingDecl

const clang::ValueDecl* clang::CIRGen::CIRGenFunction::LifetimeExtensionCapture::extendingDecl

Definition at line 215 of file CIRGenFunction.h.


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