LLVM  16.0.0git
Public Member Functions | List of all members
llvm::cl::alias Class Reference

#include "llvm/Support/CommandLine.h"

Inheritance diagram for llvm::cl::alias:
Inheritance graph
Collaboration diagram for llvm::cl::alias:
Collaboration graph

Public Member Functions

 alias (const alias &)=delete
aliasoperator= (const alias &)=delete
void setAliasFor (Option &O)
template<class... Mods>
 alias (const Mods &... Ms)
- Public Member Functions inherited from llvm::cl::Option
enum NumOccurrencesFlag getNumOccurrencesFlag () const
enum ValueExpected getValueExpectedFlag () const
enum OptionHidden getOptionHiddenFlag () const
enum FormattingFlags getFormattingFlag () const
unsigned getMiscFlags () const
unsigned getPosition () const
unsigned getNumAdditionalVals () const
bool hasArgStr () const
bool isPositional () const
bool isSink () const
bool isDefaultOption () const
bool isConsumeAfter () const
bool isInAllSubCommands () const
void setArgStr (StringRef S)
void setDescription (StringRef S)
void setValueStr (StringRef S)
void setNumOccurrencesFlag (enum NumOccurrencesFlag Val)
void setValueExpectedFlag (enum ValueExpected Val)
void setHiddenFlag (enum OptionHidden Val)
void setFormattingFlag (enum FormattingFlags V)
void setMiscFlag (enum MiscFlags M)
void setPosition (unsigned pos)
void addCategory (OptionCategory &C)
void addSubCommand (SubCommand &S)
virtual ~Option ()=default
void addArgument ()
void removeArgument ()
 Unregisters this option from the CommandLine system. More...
virtual void getExtraOptionNames (SmallVectorImpl< StringRef > &)
bool error (const Twine &Message, StringRef ArgName=StringRef(), raw_ostream &Errs=llvm::errs())
bool error (const Twine &Message, raw_ostream &Errs)
int getNumOccurrences () const
void reset ()

Additional Inherited Members

- Static Public Member Functions inherited from llvm::cl::Option
static void printHelpStr (StringRef HelpStr, size_t Indent, size_t FirstLineIndentedBy)
static void printEnumValHelpStr (StringRef HelpStr, size_t Indent, size_t FirstLineIndentedBy)
- Public Attributes inherited from llvm::cl::Option
StringRef ArgStr
StringRef HelpStr
StringRef ValueStr
SmallVector< OptionCategory *, 1 > Categories
SmallPtrSet< SubCommand *, 1 > Subs
- Protected Member Functions inherited from llvm::cl::Option
 Option (enum NumOccurrencesFlag OccurrencesFlag, enum OptionHidden Hidden)
void setNumAdditionalVals (unsigned n)

Detailed Description

Definition at line 1906 of file CommandLine.h.

Constructor & Destructor Documentation

◆ alias() [1/2]

llvm::cl::alias::alias ( const alias )

◆ alias() [2/2]

template<class... Mods>
llvm::cl::alias::alias ( const Mods &...  Ms)

Definition at line 1957 of file CommandLine.h.

References llvm::cl::apply().

Member Function Documentation

◆ operator=()

alias& llvm::cl::alias::operator= ( const alias )

◆ setAliasFor()

void llvm::cl::alias::setAliasFor ( Option O)

Definition at line 1950 of file CommandLine.h.

References llvm::cl::Option::error(), and llvm::RISCVFenceField::O.

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