LLVM 23.0.0git
llvm::SimpleRegistryEntry< T, CtorParamTypes > Class Template Reference

A simple registry entry which provides only a name, description, and an CtorParamTypes&& variadic parameterized constructor. More...

#include "llvm/Support/Registry.h"

Inheritance diagram for llvm::SimpleRegistryEntry< T, CtorParamTypes >:
[legend]

Public Member Functions

 SimpleRegistryEntry (StringRef N, StringRef D, FactoryFnRef C)
StringRef getName () const
StringRef getDesc () const
std::unique_ptr< Tinstantiate (CtorParamTypes &&...Params) const

Detailed Description

template<typename T, typename... CtorParamTypes>
class llvm::SimpleRegistryEntry< T, CtorParamTypes >

A simple registry entry which provides only a name, description, and an CtorParamTypes&& variadic parameterized constructor.

Definition at line 27 of file Registry.h.

Constructor & Destructor Documentation

◆ SimpleRegistryEntry()

template<typename T, typename... CtorParamTypes>
llvm::SimpleRegistryEntry< T, CtorParamTypes >::SimpleRegistryEntry ( StringRef N,
StringRef D,
FactoryFnRef C )
inline

Definition at line 33 of file Registry.h.

Member Function Documentation

◆ getDesc()

template<typename T, typename... CtorParamTypes>
StringRef llvm::SimpleRegistryEntry< T, CtorParamTypes >::getDesc ( ) const
inline

Definition at line 37 of file Registry.h.

◆ getName()

template<typename T, typename... CtorParamTypes>
StringRef llvm::SimpleRegistryEntry< T, CtorParamTypes >::getName ( ) const
inline

Definition at line 36 of file Registry.h.

◆ instantiate()

template<typename T, typename... CtorParamTypes>
std::unique_ptr< T > llvm::SimpleRegistryEntry< T, CtorParamTypes >::instantiate ( CtorParamTypes &&... Params) const
inline

Definition at line 38 of file Registry.h.


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