class SimpleRegistryEntry
Declaration
template <typename T>
class SimpleRegistryEntry { /* full declaration omitted */ };
Description
A simple registry entry which provides only a name, description, and no-argument constructor.
Declared at: llvm/include/llvm/Support/Registry.h:27
Templates
- T
Method Overview
- public SimpleRegistryEntry<T>(llvm::StringRef N, llvm::StringRef D, std::unique_ptr<T> (*)() C)
- public llvm::StringRef getDesc() const
- public llvm::StringRef getName() const
- public std::unique_ptr<T> instantiate() const
Methods
¶SimpleRegistryEntry<T>(llvm::StringRef N,
llvm::StringRef D,
std::unique_ptr<T> (*)() C)
SimpleRegistryEntry<T>(llvm::StringRef N,
llvm::StringRef D,
std::unique_ptr<T> (*)() C)
Declared at: llvm/include/llvm/Support/Registry.h:32
Parameters
- llvm::StringRef N
- llvm::StringRef D
- std::unique_ptr<T> (*)() C
¶llvm::StringRef getDesc() const
llvm::StringRef getDesc() const
Declared at: llvm/include/llvm/Support/Registry.h:36
¶llvm::StringRef getName() const
llvm::StringRef getName() const
Declared at: llvm/include/llvm/Support/Registry.h:35
¶std::unique_ptr<T> instantiate() const
std::unique_ptr<T> instantiate() const
Declared at: llvm/include/llvm/Support/Registry.h:37