Cleanup handler that reclaims resource by calling destructor on it.
Synopsis
Declared in <llvm/Support/CrashRecoveryContext.h>
template<typename T>
class CrashRecoveryContextDestructorCleanup
: public CrashRecoveryContextCleanupBase<CrashRecoveryContextDestructorCleanup<T>, T>
Base Classes
Name |
Description |
|
Base class of cleanup handler that controls recovery of resources of the given type. |
Member Functions
Name |
Description |
|
Construct a destructor‐based cleanup for |
Return the crash recovery context that owns this handler. |
|
Destroy the resource by invoking its destructor. |
Static Member Functions
Name |
Description |
Creates cleanup handler. |
Data Members
Name |
Description |
Whether this cleanup has already been run. |