Lines Matching refs:CommandLine
141 llvm::ArrayRef<std::string> CommandLine, in extractSystemIncludesAndTarget() argument
190 for (size_t I = 0, E = CommandLine.size(); I < E; ++I) { in extractSystemIncludesAndTarget()
191 llvm::StringRef Arg = CommandLine[I]; in extractSystemIncludesAndTarget()
204 Args.push_back(CommandLine[I]); in extractSystemIncludesAndTarget()
205 Args.push_back(CommandLine[++I]); in extractSystemIncludesAndTarget()
207 Args.push_back(CommandLine[I]); in extractSystemIncludesAndTarget()
250 auto InsertAt = llvm::find(Cmd.CommandLine, "--"); in addSystemIncludes()
251 Cmd.CommandLine.insert(InsertAt, std::make_move_iterator(ToAppend.begin()), in addSystemIncludes()
261 for (llvm::StringRef Arg : Cmd.CommandLine) { in setTarget()
266 auto InsertAt = llvm::find(Cmd.CommandLine, "--"); in setTarget()
267 Cmd.CommandLine.insert(InsertAt, "--target=" + Target); in setTarget()
329 if (!Cmd || Cmd->CommandLine.empty()) in getCompileCommand()
333 for (size_t I = 0, E = Cmd->CommandLine.size(); I < E; ++I) { in getCompileCommand()
334 llvm::StringRef Arg = Cmd->CommandLine[I]; in getCompileCommand()
336 Lang = Cmd->CommandLine[I + 1]; in getCompileCommand()
350 llvm::SmallString<128> Driver(Cmd->CommandLine.front()); in getCompileCommand()
360 Driver, Lang, Cmd->CommandLine, QueryDriverRegex); in getCompileCommand()