class CrashRecoveryContextReleaseRefCleanup

Declaration

template <typename T>
class CrashRecoveryContextReleaseRefCleanup { /* full declaration omitted */ };

Description

Cleanup handler that reclaims resource by calling its method 'Release'.

Declared at: llvm/include/llvm/Support/CrashRecoveryContext.h:203

Templates

T

Method Overview

Methods

CrashRecoveryContextReleaseRefCleanup<T>(
    llvm::CrashRecoveryContext* context,
    T* resource)

Declared at: llvm/include/llvm/Support/CrashRecoveryContext.h:206

Parameters

llvm::CrashRecoveryContext* context
T* resource

void recoverResources()

Declared at: llvm/include/llvm/Support/CrashRecoveryContext.h:211