LLVM 22.0.0git
llvm::EnumEntry< T > Struct Template Reference

#include "llvm/Support/ScopedPrinter.h"

Public Member Functions

constexpr EnumEntry (StringRef N, StringRef A, T V)
constexpr EnumEntry (StringRef N, T V)

Public Attributes

StringRef Name
StringRef AltName
T Value

Detailed Description

template<typename T>
struct llvm::EnumEntry< T >

Definition at line 26 of file ScopedPrinter.h.

Constructor & Destructor Documentation

◆ EnumEntry() [1/2]

template<typename T>
llvm::EnumEntry< T >::EnumEntry ( StringRef N,
StringRef A,
T V )
inlineconstexpr

Definition at line 37 of file ScopedPrinter.h.

References A(), AltName, N, Name, T, and Value.

◆ EnumEntry() [2/2]

template<typename T>
llvm::EnumEntry< T >::EnumEntry ( StringRef N,
T V )
inlineconstexpr

Definition at line 39 of file ScopedPrinter.h.

References AltName, N, Name, T, and Value.

Member Data Documentation

◆ AltName

template<typename T>
StringRef llvm::EnumEntry< T >::AltName

Definition at line 35 of file ScopedPrinter.h.

Referenced by EnumEntry(), and EnumEntry().

◆ Name

template<typename T>
StringRef llvm::EnumEntry< T >::Name

Definition at line 27 of file ScopedPrinter.h.

Referenced by EnumEntry(), and EnumEntry().

◆ Value

template<typename T>
T llvm::EnumEntry< T >::Value

Definition at line 36 of file ScopedPrinter.h.

Referenced by EnumEntry(), and EnumEntry().


The documentation for this struct was generated from the following files: