class InputArgList

Declaration

class InputArgList : public ArgList { /* full declaration omitted */ };

Description

ArgList - Ordered collection of driver arguments. The ArgList class manages a list of Arg instances as well as auxiliary data and convenience methods to allow Tools to quickly check for the presence of Arg instances for a particular Option and to iterate over groups of arguments.

Declared at: llvm/include/llvm/Option/ArgList.h:368

Inherits from: ArgList

Method Overview

Inherited from ArgList:

Methods

InputArgList()

Declared at: llvm/include/llvm/Option/ArgList.h:391

InputArgList(const char* const* ArgBegin,
             const char* const* ArgEnd)

Declared at: llvm/include/llvm/Option/ArgList.h:393

Parameters

const char* const* ArgBegin
const char* const* ArgEnd

InputArgList(llvm::opt::InputArgList&& RHS)

Declared at: llvm/include/llvm/Option/ArgList.h:395

Parameters

llvm::opt::InputArgList&& RHS

const char* MakeArgStringRef(
    llvm::StringRef Str) const

Description

Construct a constant string pointer whose lifetime will match that of the ArgList.

Declared at: llvm/include/llvm/Option/ArgList.h:428

Parameters

llvm::StringRef Str

unsigned int MakeIndex(
    llvm::StringRef String0) const

Description

MakeIndex - Get an index for the given string(s).

Declared at: llvm/include/llvm/Option/ArgList.h:424

Parameters

llvm::StringRef String0

unsigned int MakeIndex(
    llvm::StringRef String0,
    llvm::StringRef String1) const

Declared at: llvm/include/llvm/Option/ArgList.h:425

Parameters

llvm::StringRef String0
llvm::StringRef String1

const char* getArgString(unsigned int Index) const

Description

getArgString - Return the input argument string at \p Index.

Declared at: llvm/include/llvm/Option/ArgList.h:411

Parameters

unsigned int Index

unsigned int getNumInputArgStrings() const

Description

getNumInputArgStrings - Return the number of original argument strings, which are guaranteed to be the first strings in the argument string list.

Declared at: llvm/include/llvm/Option/ArgList.h:415

~InputArgList()

Declared at: llvm/include/llvm/Option/ArgList.h:409