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

Methods

ManagedStaticBase()

Declared at: llvm/include/llvm/Support/ManagedStatic.h:67

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

Declared at: llvm/include/llvm/Support/ManagedStatic.h:73

bool isConstructed() const

Description

isConstructed - Return true if this object has not been created yet.

Declared at: llvm/include/llvm/Support/ManagedStatic.h:71