LLVM  6.0.0svn
Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
llvm::CrashRecoveryContextCleanupBase< DERIVED, T > Class Template Reference

#include "llvm/Support/CrashRecoveryContext.h"

Inheritance diagram for llvm::CrashRecoveryContextCleanupBase< DERIVED, T >:
Inheritance graph
[legend]
Collaboration diagram for llvm::CrashRecoveryContextCleanupBase< DERIVED, T >:
Collaboration graph
[legend]

Static Public Member Functions

static DERIVED * create (T *x)
 

Protected Member Functions

 CrashRecoveryContextCleanupBase (CrashRecoveryContext *context, T *resource)
 
- Protected Member Functions inherited from llvm::CrashRecoveryContextCleanup
 CrashRecoveryContextCleanup (CrashRecoveryContext *context)
 

Protected Attributes

Tresource
 
- Protected Attributes inherited from llvm::CrashRecoveryContextCleanup
CrashRecoveryContextcontext
 

Additional Inherited Members

- Public Member Functions inherited from llvm::CrashRecoveryContextCleanup
virtual ~CrashRecoveryContextCleanup ()
 
virtual void recoverResources ()=0
 
CrashRecoveryContextgetContext () const
 
- Public Attributes inherited from llvm::CrashRecoveryContextCleanup
bool cleanupFired
 

Detailed Description

template<typename DERIVED, typename T>
class llvm::CrashRecoveryContextCleanupBase< DERIVED, T >

Definition at line 119 of file CrashRecoveryContext.h.

Constructor & Destructor Documentation

◆ CrashRecoveryContextCleanupBase()

template<typename DERIVED, typename T>
llvm::CrashRecoveryContextCleanupBase< DERIVED, T >::CrashRecoveryContextCleanupBase ( CrashRecoveryContext context,
T resource 
)
inlineprotected

Definition at line 122 of file CrashRecoveryContext.h.

Member Function Documentation

◆ create()

template<typename DERIVED, typename T>
static DERIVED* llvm::CrashRecoveryContextCleanupBase< DERIVED, T >::create ( T x)
inlinestatic

Definition at line 126 of file CrashRecoveryContext.h.

Member Data Documentation

◆ resource

template<typename DERIVED, typename T>
T* llvm::CrashRecoveryContextCleanupBase< DERIVED, T >::resource
protected

Definition at line 121 of file CrashRecoveryContext.h.


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