18 using namespace llvm::opt;
21 : Opt(Opt), BaseArg(BaseArg), Spelling(S), Index(Index), Claimed(
false),
26 : Opt(Opt), BaseArg(BaseArg), Spelling(S), Index(Index), Claimed(
false),
32 const char *Value1,
const Arg *BaseArg)
33 : Opt(Opt), BaseArg(BaseArg), Spelling(S), Index(Index), Claimed(
false),
41 for (
unsigned i = 0, e = Values.
size(); i != e; ++i)
55 for (
unsigned i = 0, e = Values.
size(); i != e; ++i) {
70 it = ASL.
begin(), ie = ASL.
end(); it != ie; ++it) {
71 if (it != ASL.
begin())
void push_back(const T &Elt)
unsigned getIndex() const
const Option & getOption() const
raw_ostream & errs()
This returns a reference to a raw_ostream for standard error.
A raw_ostream that writes to an SmallVector or SmallString.
const char * getValue(unsigned N=0) const
StringRef getSpelling() const
Option - Abstract representation for a single form of driver argument.
A concrete instance of a particular driver option.
const char * GetOrMakeJoinedArgString(unsigned Index, StringRef LHS, StringRef RHS) const
Create an arg string for (LHS + RHS), reusing the string at Index if possible.
const char * MakeArgString(const Twine &Str) const
void renderAsInput(const ArgList &Args, ArgStringList &Output) const
Append the argument, render as an input, onto the given array as strings.
void append(in_iter in_start, in_iter in_end)
Add the specified range to the end of the SmallVector.
void render(const ArgList &Args, ArgStringList &Output) const
Append the argument onto the given array as strings.
Defines the llvm::Arg class for parsed arguments.
StringRef str()
Flushes the stream contents to the target vector and return a StringRef for the vector contents...
unsigned getNumValues() const
std::string getAsString(const ArgList &Args) const
Return a formatted version of the argument and its values, for debugging and diagnostics.
StringRef - Represent a constant reference to a string, i.e.
ArgList - Ordered collection of driver arguments.