class alias

Declaration

class alias : public Option { /* full declaration omitted */ };

Declared at: llvm/include/llvm/Support/CommandLine.h:1839

Inherits from: Option

Member Variables

private llvm::cl::Option* AliasFor

Inherited from Option:

public ArgStr
public HelpStr
public ValueStr
public Categories
public Subs

Method Overview

Inherited from Option:

Methods

bool addOccurrence(unsigned int pos,
                   llvm::StringRef,
                   llvm::StringRef Value,
                   bool MultiArg = false)

Declared at: llvm/include/llvm/Support/CommandLine.h:1847

Parameters

unsigned int pos
llvm::StringRef
llvm::StringRef Value
bool MultiArg = false

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

Declared at: llvm/include/llvm/Support/CommandLine.h:1880

Parameters

const llvm::cl::alias&

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

Declared at: llvm/include/llvm/Support/CommandLine.h:1890

Templates

Mods

Parameters

const Mods&... Ms

void done()

Declared at: llvm/include/llvm/Support/CommandLine.h:1866

size_t getOptionWidth() const

Declared at: llvm/include/llvm/Support/CommandLine.h:1853

llvm::cl::ValueExpected
getValueExpectedFlagDefault() const

Declared at: llvm/include/llvm/Support/CommandLine.h:1862

bool handleOccurrence(unsigned int pos,
                      llvm::StringRef,
                      llvm::StringRef Arg)

Declared at: llvm/include/llvm/Support/CommandLine.h:1842

Parameters

unsigned int pos
llvm::StringRef
llvm::StringRef Arg

void printOptionInfo(size_t GlobalWidth) const

Declared at: llvm/include/llvm/Support/CommandLine.h:1854

Parameters

size_t GlobalWidth

void printOptionValue(size_t, bool) const

Declared at: llvm/include/llvm/Support/CommandLine.h:1857

Parameters

size_t
bool

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

Declared at: llvm/include/llvm/Support/CommandLine.h:1883

Parameters

llvm::cl::Option& O

void setDefault()

Declared at: llvm/include/llvm/Support/CommandLine.h:1860