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

bool hasNoPrefix () const
 
unsigned getNumPrefixes (ArrayRef< unsigned > PrefixesTable) const
 
ArrayRef< unsignedgetPrefixOffsets (ArrayRef< unsigned > PrefixesTable) const
 
void appendPrefixes (const char *StrTable, ArrayRef< unsigned > PrefixesTable, SmallVectorImpl< StringRef > &Prefixes) const
 
StringRef getPrefix (const char *StrTable, ArrayRef< unsigned > PrefixesTable, unsigned PrefixIndex) const
 
StringRef getPrefixedName (const char *StrTable) const
 
StringRef getName (const char *StrTable, ArrayRef< unsigned > PrefixesTable) const
 

Public Attributes

unsigned PrefixesOffset
 
unsigned PrefixedNameOffset
 
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

◆ appendPrefixes()

void llvm::opt::OptTable::Info::appendPrefixes ( const char StrTable,
ArrayRef< unsigned PrefixesTable,
SmallVectorImpl< StringRef > &  Prefixes 
) const
inline

◆ getName()

StringRef llvm::opt::OptTable::Info::getName ( const char StrTable,
ArrayRef< unsigned PrefixesTable 
) const
inline

◆ getNumPrefixes()

unsigned llvm::opt::OptTable::Info::getNumPrefixes ( ArrayRef< unsigned PrefixesTable) const
inline

Definition at line 83 of file OptTable.h.

References PrefixesOffset.

Referenced by getPrefixOffsets(), and llvm::opt::Option::print().

◆ getPrefix()

StringRef llvm::opt::OptTable::Info::getPrefix ( const char StrTable,
ArrayRef< unsigned PrefixesTable,
unsigned  PrefixIndex 
) const
inline

Definition at line 100 of file OptTable.h.

References getPrefixOffsets().

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

◆ getPrefixedName()

StringRef llvm::opt::OptTable::Info::getPrefixedName ( const char StrTable) const
inline

Definition at line 105 of file OptTable.h.

References PrefixedNameOffset.

Referenced by getName(), and llvm::opt::OptTable::getOptionPrefixedName().

◆ getPrefixOffsets()

ArrayRef< unsigned > llvm::opt::OptTable::Info::getPrefixOffsets ( ArrayRef< unsigned PrefixesTable) const
inline

◆ hasNoPrefix()

bool llvm::opt::OptTable::Info::hasNoPrefix ( ) const
inline

Definition at line 81 of file OptTable.h.

References PrefixesOffset.

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

Member Data Documentation

◆ AliasArgs

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

Definition at line 78 of file OptTable.h.

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

◆ AliasID

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

Definition at line 77 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 69 of file OptTable.h.

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

◆ ID

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

◆ 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 73 of file OptTable.h.

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

◆ PrefixedNameOffset

unsigned llvm::opt::OptTable::Info::PrefixedNameOffset

Definition at line 57 of file OptTable.h.

Referenced by getPrefixedName().

◆ PrefixesOffset

unsigned llvm::opt::OptTable::Info::PrefixesOffset

Definition at line 56 of file OptTable.h.

Referenced by getNumPrefixes(), getPrefixOffsets(), and hasNoPrefix().

◆ Values

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

Definition at line 79 of file OptTable.h.

◆ Visibility

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

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