class ManagedStaticBase
Declaration
class ManagedStaticBase { /* full declaration omitted */ };
Description
ManagedStaticBase - Common base class for ManagedStatic instances.
Declared at: llvm/include/llvm/Support/ManagedStatic.h:49
Member Variables
- protected std::atomic<void*> Ptr = {}
- protected void (*)(void*) DeleterFn = nullptr
- protected const llvm::ManagedStaticBase* Next = nullptr
Method Overview
- public ManagedStaticBase()
- protected void RegisterManagedStatic(void *(*)() creator, void (*)(void *) deleter) const
- public void destroy() const
- public bool isConstructed() const
Methods
¶ManagedStaticBase()
ManagedStaticBase()
Declared at: llvm/include/llvm/Support/ManagedStatic.h:67
¶void RegisterManagedStatic(void* (*)() creator,
void (*)(void*)
deleter) const
void RegisterManagedStatic(void* (*)() creator,
void (*)(void*)
deleter) const
Declared at: llvm/include/llvm/Support/ManagedStatic.h:63
Parameters
- void* (*)() creator
- void (*)(void*) deleter
¶void destroy() const
void destroy() const
Declared at: llvm/include/llvm/Support/ManagedStatic.h:73
¶bool isConstructed() const
bool isConstructed() const
Description
isConstructed - Return true if this object has not been created yet.
Declared at: llvm/include/llvm/Support/ManagedStatic.h:71