LLVM  8.0.1
Public Member Functions | List of all members
llvm::CrashRecoveryContextReleaseRefCleanup< T > Class Template Reference

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

#include "llvm/Support/CrashRecoveryContext.h"

Inheritance diagram for llvm::CrashRecoveryContextReleaseRefCleanup< T >:
Inheritance graph
[legend]
Collaboration diagram for llvm::CrashRecoveryContextReleaseRefCleanup< T >:
Collaboration graph
[legend]

Public Member Functions

 CrashRecoveryContextReleaseRefCleanup (CrashRecoveryContext *context, T *resource)
 
void recoverResources () override
 
- Public Member Functions inherited from llvm::CrashRecoveryContextCleanup
virtual ~CrashRecoveryContextCleanup ()
 
CrashRecoveryContextgetContext () const
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::CrashRecoveryContextCleanupBase< CrashRecoveryContextReleaseRefCleanup< T >, T >
static CrashRecoveryContextReleaseRefCleanup< T > * create (T *x)
 Creates cleanup handler. More...
 
- Public Attributes inherited from llvm::CrashRecoveryContextCleanup
bool cleanupFired
 
- Protected Member Functions inherited from llvm::CrashRecoveryContextCleanupBase< CrashRecoveryContextReleaseRefCleanup< T >, T >
 CrashRecoveryContextCleanupBase (CrashRecoveryContext *context, T *resource)
 
- Protected Member Functions inherited from llvm::CrashRecoveryContextCleanup
 CrashRecoveryContextCleanup (CrashRecoveryContext *context)
 
- Protected Attributes inherited from llvm::CrashRecoveryContextCleanupBase< CrashRecoveryContextReleaseRefCleanup< T >, T >
Tresource
 
- Protected Attributes inherited from llvm::CrashRecoveryContextCleanup
CrashRecoveryContextcontext
 

Detailed Description

template<typename T>
class llvm::CrashRecoveryContextReleaseRefCleanup< T >

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

Definition at line 195 of file CrashRecoveryContext.h.

Constructor & Destructor Documentation

◆ CrashRecoveryContextReleaseRefCleanup()

template<typename T >
llvm::CrashRecoveryContextReleaseRefCleanup< T >::CrashRecoveryContextReleaseRefCleanup ( CrashRecoveryContext context,
T resource 
)
inline

Definition at line 198 of file CrashRecoveryContext.h.

Member Function Documentation

◆ recoverResources()

template<typename T >
void llvm::CrashRecoveryContextReleaseRefCleanup< T >::recoverResources ( )
inlineoverridevirtual

Implements llvm::CrashRecoveryContextCleanup.

Definition at line 203 of file CrashRecoveryContext.h.


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