LLVM
8.0.1
|
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. More...
#include "llvm/Support/ManagedStatic.h"
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 | |
std::atomic< void * > | Ptr |
void(* | DeleterFn )(void *) |
const ManagedStaticBase * | Next |
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.
|
inline |
Definition at line 64 of file ManagedStatic.h.
References C.
|
inline |
Definition at line 74 of file ManagedStatic.h.
References C.
|
inline |
Definition at line 72 of file ManagedStatic.h.
|
inline |
Definition at line 82 of file ManagedStatic.h.
References llvm::llvm_shutdown().