Lines Matching refs:Opt
18 using namespace llvm::opt;
363 Arg *DerivedArgList::MakeFlagArg(const Arg *BaseArg, const Option Opt) const {
364 Arg *A = new Arg(Opt, ArgList::MakeArgString(Twine(Opt.getPrefix()) +
365 Twine(Opt.getName())),
366 BaseArgs.MakeIndex(Opt.getName()), BaseArg);
371 Arg *DerivedArgList::MakePositionalArg(const Arg *BaseArg, const Option Opt,
374 Arg *A = new Arg(Opt, ArgList::MakeArgString(Twine(Opt.getPrefix()) +
375 Twine(Opt.getName())),
381 Arg *DerivedArgList::MakeSeparateArg(const Arg *BaseArg, const Option Opt,
383 unsigned Index = BaseArgs.MakeIndex(Opt.getName(), Value);
384 Arg *A = new Arg(Opt, ArgList::MakeArgString(Twine(Opt.getPrefix()) +
385 Twine(Opt.getName())),
391 Arg *DerivedArgList::MakeJoinedArg(const Arg *BaseArg, const Option Opt,
393 unsigned Index = BaseArgs.MakeIndex(Opt.getName().str() + Value.str());
394 Arg *A = new Arg(Opt, ArgList::MakeArgString(Twine(Opt.getPrefix()) +
395 Twine(Opt.getName())), Index,
396 BaseArgs.getArgString(Index) + Opt.getName().size(),