Lines Matching refs:ArgList
1 //===--- ArgList.cpp - Argument List Management ---------------------------===//
10 #include "llvm/Option/ArgList.h"
37 ArgList::ArgList() {
40 ArgList::~ArgList() {
43 void ArgList::append(Arg *A) {
47 void ArgList::eraseArg(OptSpecifier Id) {
58 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id) const {
66 Arg *ArgList::getLastArg(OptSpecifier Id) const {
78 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1) const {
92 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1,
107 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1,
123 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1,
141 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1,
160 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1,
181 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1,
203 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier Neg, bool Default) const {
209 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier PosAlias, OptSpecifier Neg,
216 StringRef ArgList::getLastArgValue(OptSpecifier Id,
223 std::vector<std::string> ArgList::getAllArgValues(OptSpecifier Id) const {
229 void ArgList::AddLastArg(ArgStringList &Output, OptSpecifier Id) const {
236 void ArgList::AddLastArg(ArgStringList &Output, OptSpecifier Id0,
244 void ArgList::AddAllArgs(ArgStringList &Output, OptSpecifier Id0,
253 void ArgList::AddAllArgValues(ArgStringList &Output, OptSpecifier Id0,
263 void ArgList::AddAllArgsTranslated(ArgStringList &Output, OptSpecifier Id0,
280 void ArgList::ClaimAllArgs(OptSpecifier Id0) const {
286 void ArgList::ClaimAllArgs() const {
292 const char *ArgList::MakeArgString(const Twine &T) const {
298 const char *ArgList::GetOrMakeJoinedArgString(unsigned Index,
364 Arg *A = new Arg(Opt, ArgList::MakeArgString(Twine(Opt.getPrefix()) +
374 Arg *A = new Arg(Opt, ArgList::MakeArgString(Twine(Opt.getPrefix()) +
384 Arg *A = new Arg(Opt, ArgList::MakeArgString(Twine(Opt.getPrefix()) +
394 Arg *A = new Arg(Opt, ArgList::MakeArgString(Twine(Opt.getPrefix()) +