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

Member Variables

private llvm::StringRef Name
private llvm::StringRef Desc
private std::unique_ptr<T> (*)() Ctor

Method Overview

Methods

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

Declared at: llvm/include/llvm/Support/Registry.h:36

llvm::StringRef getName() const

Declared at: llvm/include/llvm/Support/Registry.h:35

std::unique_ptr<T> instantiate() const

Declared at: llvm/include/llvm/Support/Registry.h:37