Lines Matching defs:CommandLine
46 #include "llvm/Support/CommandLine.h"
271 void addTargetAndModeForProgramName(std::vector<std::string> &CommandLine,
273 if (CommandLine.empty() || InvokedAs.empty())
291 // Skip CommandLine[0].
292 for (auto Token = ++CommandLine.begin(); Token != CommandLine.end();
300 CommandLine.insert(++CommandLine.begin(), TargetMode.DriverMode);
303 CommandLine.insert(++CommandLine.begin(),
308 void addExpandedResponseFiles(std::vector<std::string> &CommandLine,
314 Argv.reserve(CommandLine.size());
315 for (auto &Arg : CommandLine) {
328 // Don't assign directly, Argv aliases CommandLine.
330 CommandLine = std::move(ExpandedArgv);
353 std::vector<std::string> CommandLine, ToolAction *Action,
355 : CommandLine(std::move(CommandLine)), Action(Action), OwnsAction(false),
359 std::vector<std::string> CommandLine,
362 : CommandLine(std::move(CommandLine)),
374 for (const std::string &Str : CommandLine)
398 if (CommandLine.size() >= 2 && CommandLine[1] == "-cc1") {
599 std::vector<std::string> CommandLine = CompileCommand.CommandLine;
601 CommandLine = ArgsAdjuster(CommandLine, CompileCommand.Filename);
602 assert(!CommandLine.empty());
612 injectResourceDir(CommandLine, "clang_tool", &StaticSymbol);
621 ToolInvocation Invocation(std::move(CommandLine), Action, Files.get(),