Lines Matching refs:Arg
58 auto *Arg = Args.getLastArg(OPT_color_diagnostics, OPT_color_diagnostics_eq, in handleColorDiagnostics() local
60 if (!Arg) in handleColorDiagnostics()
62 if (Arg->getOption().getID() == OPT_color_diagnostics) { in handleColorDiagnostics()
64 } else if (Arg->getOption().getID() == OPT_no_color_diagnostics) { in handleColorDiagnostics()
67 StringRef S = Arg->getValue(); in handleColorDiagnostics()
78 if (auto *Arg = Args.getLastArg(OPT_rsp_quoting)) { in getQuotingStyle() local
79 StringRef S = Arg->getValue(); in getQuotingStyle()
136 for (auto *Arg : Args.filtered(OPT_UNKNOWN)) in parse() local
137 error("unknown argument: " + Arg->getSpelling()); in parse()
163 for (auto *Arg : Args) { in createResponseFile() local
164 switch (Arg->getOption().getUnaliasedOption().getID()) { in createResponseFile()
168 OS << quote(rewritePath(Arg->getValue())) << "\n"; in createResponseFile()
175 OS << "-o " << quote(sys::path::filename(Arg->getValue())) << "\n"; in createResponseFile()
184 OS << Arg->getSpelling() << " " << quote(rewritePath(Arg->getValue())) in createResponseFile()
188 OS << toString(*Arg) << "\n"; in createResponseFile()