[#llvm-CrashRecoveryContextDeleteCleanup] = xref:llvm.adoc[llvm]::CrashRecoveryContextDeleteCleanup :relfileprefix: ../ :mrdocs: Cleanup handler that reclaims resource by calling 'delete' on it. == Synopsis Declared in `<llvm/Support/CrashRecoveryContext.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename T> class CrashRecoveryContextDeleteCleanup : public xref:llvm/CrashRecoveryContextCleanupBase.adoc[CrashRecoveryContextCleanupBase<CrashRecoveryContextDeleteCleanup<T>, T>] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:llvm/CrashRecoveryContextCleanupBase.adoc[CrashRecoveryContextCleanupBase<CrashRecoveryContextDeleteCleanup<T>, T>]` | Base class of cleanup handler that controls recovery of resources of the given type. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/CrashRecoveryContextDeleteCleanup/2constructor.adoc[`CrashRecoveryContextDeleteCleanup`] [.small]#[constructor]# | Construct a delete‐based cleanup for `resource.` | xref:llvm/CrashRecoveryContextCleanup/getContext.adoc[`getContext`] | Return the crash recovery context that owns this handler. | xref:llvm/CrashRecoveryContextDeleteCleanup/recoverResources.adoc[`recoverResources`] | Destroy the resource with `delete.` |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/CrashRecoveryContextCleanupBase/create.adoc[`create`] | Creates cleanup handler. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:llvm/CrashRecoveryContextCleanup/cleanupFired.adoc[`cleanupFired`] | Whether this cleanup has already been run. |=== == Protected Data Members [cols="1,4"] |=== | Name| Description | xref:llvm/CrashRecoveryContextCleanup/context.adoc[`context`] | The crash recovery context that owns this cleanup handler. | xref:llvm/CrashRecoveryContextCleanupBase/resource.adoc[`resource`] | Pointer to the resource recovered by this handler. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#