LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::opt::OptTable::Info Struct Reference

Entry for a single option instance in the option data table. More...

#include "llvm/Option/OptTable.h"

Public Member Functions

StringRef getName () const
 

Public Attributes

ArrayRef< StringLiteralPrefixes
 A null terminated array of prefix strings to apply to name while matching.
 
StringLiteral PrefixedName
 
const charHelpText
 
std::array< std::pair< std::array< unsigned int, 2 >, const char * >, 1 > HelpTextsForVariants
 
const charMetaVar
 
unsigned ID
 
unsigned char Kind
 
unsigned char Param
 
unsigned int Flags
 
unsigned int Visibility
 
unsigned short GroupID
 
unsigned short AliasID
 
const charAliasArgs
 
const charValues
 

Detailed Description

Entry for a single option instance in the option data table.

Definition at line 55 of file OptTable.h.

Member Function Documentation

◆ getName()

StringRef llvm::opt::OptTable::Info::getName ( ) const
inline

Member Data Documentation

◆ AliasArgs

const char* llvm::opt::OptTable::Info::AliasArgs

Definition at line 80 of file OptTable.h.

Referenced by llvm::opt::Option::getAliasArgs().

◆ AliasID

unsigned short llvm::opt::OptTable::Info::AliasID

Definition at line 79 of file OptTable.h.

Referenced by llvm::opt::Option::getAlias().

◆ Flags

unsigned int llvm::opt::OptTable::Info::Flags

◆ GroupID

unsigned short llvm::opt::OptTable::Info::GroupID

◆ HelpText

const char* llvm::opt::OptTable::Info::HelpText

◆ HelpTextsForVariants

std::array<std::pair<std::array<unsigned int, 2 >, const char *>, 1 > llvm::opt::OptTable::Info::HelpTextsForVariants

Definition at line 71 of file OptTable.h.

Referenced by llvm::opt::OptTable::getOptionHelpText().

◆ ID

unsigned llvm::opt::OptTable::Info::ID

Definition at line 73 of file OptTable.h.

Referenced by llvm::opt::Option::getID(), and llvm::opt::OptTable::OptTable().

◆ Kind

unsigned char llvm::opt::OptTable::Info::Kind

◆ MetaVar

const char* llvm::opt::OptTable::Info::MetaVar

◆ Param

unsigned char llvm::opt::OptTable::Info::Param

Definition at line 75 of file OptTable.h.

Referenced by llvm::opt::Option::getNumArgs().

◆ PrefixedName

StringLiteral llvm::opt::OptTable::Info::PrefixedName

Definition at line 59 of file OptTable.h.

Referenced by getName(), and llvm::opt::Option::getPrefixedName().

◆ Prefixes

ArrayRef<StringLiteral> llvm::opt::OptTable::Info::Prefixes

A null terminated array of prefix strings to apply to name while matching.

Definition at line 58 of file OptTable.h.

Referenced by llvm::opt::GenericOptTable::GenericOptTable(), getName(), llvm::opt::Option::getPrefix(), and llvm::opt::Option::print().

◆ Values

const char* llvm::opt::OptTable::Info::Values

Definition at line 81 of file OptTable.h.

◆ Visibility

unsigned int llvm::opt::OptTable::Info::Visibility

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