LLVM API Documentation

Public Member Functions | Protected Member Functions | Protected Attributes
llvm::ManagedStaticBase Class Reference

ManagedStaticBase - Common base class for ManagedStatic instances. More...

#include <ManagedStatic.h>

Inheritance diagram for llvm::ManagedStaticBase:
Inheritance graph
[legend]
Collaboration diagram for llvm::ManagedStaticBase:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool isConstructed () const
 isConstructed - Return true if this object has not been created yet.
void destroy () const

Protected Member Functions

void RegisterManagedStatic (void *(*creator)(), void(*deleter)(void *)) const

Protected Attributes

void * Ptr
void(* DeleterFn )(void *)
const ManagedStaticBaseNext

Detailed Description

ManagedStaticBase - Common base class for ManagedStatic instances.

Definition at line 39 of file ManagedStatic.h.


Member Function Documentation

Definition at line 68 of file ManagedStatic.cpp.

References DeleterFn, Next, Ptr, and StaticList.

Referenced by llvm::llvm_shutdown().

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

Definition at line 50 of file ManagedStatic.h.

References Ptr.

Referenced by llvm::sys::DynamicLibrary::SearchForAddressOfSymbol().

void ManagedStaticBase::RegisterManagedStatic ( void *(*)()  creator,
void(*)(void *)  deleter 
) const [protected]

Member Data Documentation

void(* llvm::ManagedStaticBase::DeleterFn)(void *) [mutable, protected]

Definition at line 44 of file ManagedStatic.h.

Referenced by destroy(), and RegisterManagedStatic().

Definition at line 45 of file ManagedStatic.h.

Referenced by destroy(), and RegisterManagedStatic().

void* llvm::ManagedStaticBase::Ptr [mutable, protected]

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