class CrashRecoveryContextDeleteCleanup

Declaration

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

Description

Cleanup handler that reclaims resource by calling 'delete' on it.

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

Templates

T

Method Overview

Methods

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

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

Parameters

llvm::CrashRecoveryContext* context
T* resource

void recoverResources()

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