LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
llvm::ManagedStatic< C > Class Template Reference

#include <ManagedStatic.h>

Inheritance diagram for llvm::ManagedStatic< C >:
Inheritance graph
[legend]
Collaboration diagram for llvm::ManagedStatic< C >:
Collaboration graph
[legend]

Public Member Functions

C & operator* ()
 
C * operator-> ()
 
const C & operator* () const
 
const C * operator-> () const
 
- Public Member Functions inherited from llvm::ManagedStaticBase
bool isConstructed () const
 isConstructed - Return true if this object has not been created yet. More...
 
void destroy () const
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::ManagedStaticBase
void RegisterManagedStatic (void *(*creator)(), void(*deleter)(void *)) const
 
- Protected Attributes inherited from llvm::ManagedStaticBase
void * Ptr
 
void(* DeleterFn )(void *)
 
const ManagedStaticBaseNext
 

Detailed Description

template<class C>
class llvm::ManagedStatic< C >

ManagedStatic - This transparently changes the behavior of global statics to be lazily constructed on demand (good for reducing startup times of dynamic libraries that link in LLVM components) and for making destruction be explicit through the llvm_shutdown() function call.

Definition at line 61 of file ManagedStatic.h.

Member Function Documentation

template<class C>
C& llvm::ManagedStatic< C >::operator* ( )
inline
template<class C>
const C& llvm::ManagedStatic< C >::operator* ( ) const
inline
template<class C>
C* llvm::ManagedStatic< C >::operator-> ( )
inline
template<class C>
const C* llvm::ManagedStatic< C >::operator-> ( ) const
inline

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