LLVM API Documentation
#include <Registry.h>
Public Member Functions | |
SimpleRegistryEntry (const char *N, const char *D, std::unique_ptr< T >(*C)()) | |
const char * | getName () const |
const char * | getDesc () const |
std::unique_ptr< T > | instantiate () const |
A simple registry entry which provides only a name, description, and no-argument constructor.
Definition at line 26 of file Registry.h.
llvm::SimpleRegistryEntry< T >::SimpleRegistryEntry | ( | const char * | N, |
const char * | D, | ||
std::unique_ptr< T >(*)() | C | ||
) | [inline] |
Definition at line 31 of file Registry.h.
const char* llvm::SimpleRegistryEntry< T >::getDesc | ( | ) | const [inline] |
Definition at line 36 of file Registry.h.
Referenced by llvm::RegistryTraits< T >::descof().
const char* llvm::SimpleRegistryEntry< T >::getName | ( | ) | const [inline] |
Definition at line 35 of file Registry.h.
Referenced by llvm::RegistryTraits< T >::nameof().
std::unique_ptr<T> llvm::SimpleRegistryEntry< T >::instantiate | ( | ) | const [inline] |
Definition at line 37 of file Registry.h.