Lines Matching refs:Args
96 /// \param Args - The vector of command line arguments.
100 SmallVectorImpl<const char*> &Args,
109 Args.insert(Args.begin() + 1, Str);
114 Args.push_back(Str);
121 for (unsigned i = 1, e = Args.size(); i != e; ++i) {
123 if (Args[i] == nullptr)
125 std::string Repl = llvm::Regex(MatchPattern).sub(ReplPattern, Args[i]);
127 if (Repl != Args[i]) {
128 OS << "### Replacing '" << Args[i] << "' with '" << Repl << "'\n";
129 Args[i] = GetStableCStr(SavedStrings, Repl);
134 for (unsigned i = 1; i < Args.size();) {
135 if (Option == Args[i]) {
136 OS << "### Deleting argument " << Args[i] << '\n';
137 Args.erase(Args.begin() + i);
139 if (i < Args.size()) {
140 OS << "### Deleting argument " << Args[i] << '\n';
141 Args.erase(Args.begin() + i);
149 for (unsigned i = 1; i < Args.size();) {
150 const char *A = Args[i];
158 OS << "### Deleting argument " << Args[i] << '\n';
159 Args.erase(Args.begin() + i);
164 Args.push_back(GetStableCStr(SavedStrings, '-' + Edit.str()));
172 static void ApplyQAOverride(SmallVectorImpl<const char*> &Args,
192 ApplyOneQAOverride(*OS, Args, std::string(S, End), SavedStrings);
267 InputArgList Args =
272 (void)ParseDiagnosticArgs(*DiagOpts, Args);