Lines Matching defs:Arg
24 #include "llvm/Option/Arg.h"
80 for (auto *Arg : Args->filtered(OPT_libpath))
81 Ret.push_back(Arg->getValue());
131 for (auto *Arg : Args.filtered(OPT_INPUT)) {
134 Arg->getValue(), /*IsText=*/false, /*RequiresNullTerminator=*/false);
135 fatalOpenError(errorCodeToError(MaybeBuf.getError()), Arg->getValue());
331 for (auto *Arg : Args.filtered(OPT_UNKNOWN))
332 llvm::errs() << "ignoring unknown argument: " << Arg->getAsString(Args)
343 for (auto *Arg : Args.filtered(OPT_ignore))
344 IgnoredWarnings.insert(Arg->getValue());
348 if (auto *Arg = Args.getLastArg(OPT_out)) {
349 OutputPath = Arg->getValue();
354 if (auto *Arg = Args.getLastArg(OPT_machine)) {
355 LibMachine = getMachineType(Arg->getValue());
357 llvm::errs() << "unknown /machine: arg " << Arg->getValue() << '\n';
361 std::string(" (from '/machine:") + Arg->getValue() + "' flag)";
455 for (auto *Arg : Args.filtered(OPT_INPUT)) {
457 std::string Path = findInputFile(Arg->getValue(), SearchPaths);
459 llvm::errs() << Arg->getValue() << ": no such file or directory\n";