LLVM 20.0.0git
Public Member Functions | List of all members
llvm::SimpleRegistryEntry< T > Class Template Reference

A simple registry entry which provides only a name, description, and no-argument constructor. More...

#include "llvm/Support/Registry.h"

Public Member Functions

 SimpleRegistryEntry (StringRef N, StringRef D, std::unique_ptr< T >(*C)())
 
StringRef getName () const
 
StringRef getDesc () const
 
std::unique_ptr< Tinstantiate () const
 

Detailed Description

template<typename T>
class llvm::SimpleRegistryEntry< T >

A simple registry entry which provides only a name, description, and no-argument constructor.

Definition at line 27 of file Registry.h.

Constructor & Destructor Documentation

◆ SimpleRegistryEntry()

template<typename T >
llvm::SimpleRegistryEntry< T >::SimpleRegistryEntry ( StringRef  N,
StringRef  D,
std::unique_ptr< T >(*)()  C 
)
inline

Definition at line 32 of file Registry.h.

Member Function Documentation

◆ getDesc()

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

Definition at line 36 of file Registry.h.

◆ getName()

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

Definition at line 35 of file Registry.h.

◆ instantiate()

template<typename T >
std::unique_ptr< T > llvm::SimpleRegistryEntry< T >::instantiate ( ) const
inline

Definition at line 37 of file Registry.h.


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