Home
last modified time | relevance | path

Searched refs:CommandLine (Results 1 – 25 of 31) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/
H A DTooling.cpp292 for (auto Token = ++CommandLine.begin(); Token != CommandLine.end(); in addTargetAndModeForProgramName()
300 CommandLine.insert(++CommandLine.begin(), TargetMode.DriverMode); in addTargetAndModeForProgramName()
303 CommandLine.insert(++CommandLine.begin(), in addTargetAndModeForProgramName()
314 Argv.reserve(CommandLine.size()); in addExpandedResponseFiles()
315 for (auto &Arg : CommandLine) { in addExpandedResponseFiles()
355 : CommandLine(std::move(CommandLine)), Action(Action), OwnsAction(false), in ToolInvocation()
362 : CommandLine(std::move(CommandLine)), in ToolInvocation()
397 if (CommandLine.size() >= 2 && CommandLine[1] == "-cc1") { in run()
597 std::vector<std::string> CommandLine = CompileCommand.CommandLine; in run() local
599 CommandLine = ArgsAdjuster(CommandLine, CompileCommand.Filename); in run()
[all …]
H A DGuessTargetAndModeCompilationDatabase.cpp41 if (Cmd.CommandLine.empty()) in addTargetAndMode()
43 addTargetAndModeForProgramName(Cmd.CommandLine, Cmd.CommandLine.front()); in addTargetAndMode()
H A DInterpolatingCompilationDatabase.cpp139 std::vector<std::string> OldArgs = std::move(Cmd.CommandLine); in TransferableCommand()
140 Cmd.CommandLine.clear(); in TransferableCommand()
160 Cmd.CommandLine.emplace_back(OldArgs.front()); in TransferableCommand()
199 Cmd.CommandLine.insert(Cmd.CommandLine.end(), in TransferableCommand()
231 Result.CommandLine.push_back(std::string(Flag)); in transferTo()
233 Result.CommandLine.push_back("-x"); in transferTo()
234 Result.CommandLine.push_back(types::getTypeName(TargetType)); in transferTo()
240 Result.CommandLine.emplace_back(( in transferTo()
244 Result.CommandLine.push_back("--"); in transferTo()
245 Result.CommandLine.push_back(std::string(Filename)); in transferTo()
H A DCompilationDatabase.cpp335 std::vector<const char *> CommandLine(DoubleDash + 1, Argv + Argc); in loadFromCommandLine() local
339 if (!stripPositionalArgs(CommandLine, StrippedArgs, ErrorMsg)) in loadFromCommandLine()
374 const Twine &Directory, ArrayRef<std::string> CommandLine) { in FixedCompilationDatabase() argument
377 CommandLine.begin(), CommandLine.end()); in FixedCompilationDatabase()
386 Result[0].CommandLine.push_back(std::string(FilePath)); in getCompileCommands()
H A DJSONCompilationDatabase.cpp54 CommandLineArgumentParser(StringRef CommandLine) in CommandLineArgumentParser() argument
55 : Input(CommandLine), Position(Input.begin()-1) {} in CommandLineArgumentParser()
62 CommandLine.push_back(Argument); in parse()
64 return CommandLine; in parse()
132 std::vector<std::string> CommandLine; member in __anone0bcea490111::CommandLineArgumentParser
H A DCommonOptionsParser.cpp79 Command.CommandLine = Adjuster(Command.CommandLine, Command.Filename); in adjustCommands()
H A DExpandResponseFilesCompilationDatabase.cpp53 tooling::addExpandedResponseFiles(Cmd.CommandLine, Cmd.Directory, in expand()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/
H A DCompilationDatabase.h47 std::vector<std::string> CommandLine, const Twine &Output) in CompileCommand()
49 CommandLine(std::move(CommandLine)), Output(Output.str()) {} in CompileCommand()
58 std::vector<std::string> CommandLine; member
70 LHS.CommandLine == RHS.CommandLine && LHS.Output == RHS.Output &&
200 ArrayRef<std::string> CommandLine);
H A DTooling.h252 ToolInvocation(std::vector<std::string> CommandLine,
264 ToolInvocation(std::vector<std::string> CommandLine, ToolAction *Action,
295 std::vector<std::string> CommandLine; variable
503 void addTargetAndModeForProgramName(std::vector<std::string> &CommandLine,
507 void addExpandedResponseFiles(std::vector<std::string> &CommandLine,
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningTool.cpp74 const std::vector<std::string> &CommandLine, StringRef CWD) { in getDependencyFile() argument
78 Worker.computeDependencies(CWD, CommandLine, Consumer, Controller); in getDependencyFile()
130 auto Result = Worker.computeDependencies(CWD, Command.CommandLine, Consumer, in getP1689ModuleDependencyFile()
143 const std::vector<std::string> &CommandLine, StringRef CWD, in getTranslationUnitDependencies() argument
149 Worker.computeDependencies(CWD, CommandLine, Consumer, Controller); in getTranslationUnitDependencies()
156 StringRef ModuleName, const std::vector<std::string> &CommandLine, in getModuleDependencies() argument
161 llvm::Error Result = Worker.computeDependencies(CWD, CommandLine, Consumer, in getModuleDependencies()
H A DDependencyScanningWorker.cpp341 StringRef WorkingDirectory, const std::vector<std::string> &CommandLine, in computeDependencies() argument
345 for (const std::string &Arg : CommandLine) in computeDependencies()
356 if (computeDependencies(WorkingDirectory, CommandLine, Consumer, Controller, in computeDependencies()
404 std::vector<std::string> CommandLine, DependencyScanningAction &Action, in createAndRunToolInvocation() argument
410 std::string Executable = CommandLine[0]; in createAndRunToolInvocation()
411 ToolInvocation Invocation(std::move(CommandLine), &Action, &FM, in createAndRunToolInvocation()
424 StringRef WorkingDirectory, const std::vector<std::string> &CommandLine, in computeDependencies() argument
452 ModifiedCommandLine = CommandLine; in computeDependencies()
457 ModifiedCommandLine ? *ModifiedCommandLine : CommandLine; in computeDependencies()
/freebsd-14.2/sys/contrib/dev/acpica/components/debugger/
H A Ddbhistry.c194 char *CommandLine) in AcpiDbAddToHistory() argument
201 CmdLen = (UINT16) strlen (CommandLine); in AcpiDbAddToHistory()
227 CommandLine); in AcpiDbAddToHistory()
H A Ddbinput.c902 char *CommandLine; in AcpiDbCommandDispatch() local
1060 CommandLine = AcpiDbGetFromHistory (AcpiGbl_DbArgs[1]); in AcpiDbCommandDispatch()
1061 if (!CommandLine) in AcpiDbCommandDispatch()
1066 Status = AcpiDbCommandDispatch (CommandLine, WalkState, Op); in AcpiDbCommandDispatch()
1071 CommandLine = AcpiDbGetFromHistory (NULL); in AcpiDbCommandDispatch()
1072 if (!CommandLine) in AcpiDbCommandDispatch()
1077 Status = AcpiDbCommandDispatch (CommandLine, WalkState, Op); in AcpiDbCommandDispatch()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningTool.h92 getDependencyFile(const std::vector<std::string> &CommandLine, StringRef CWD);
134 getTranslationUnitDependencies(const std::vector<std::string> &CommandLine,
143 StringRef ModuleName, const std::vector<std::string> &CommandLine,
H A DDependencyScanningWorker.h93 const std::vector<std::string> &CommandLine,
101 StringRef WorkingDirectory, const std::vector<std::string> &CommandLine,
/freebsd-14.2/contrib/llvm-project/llvm/tools/bugpoint/
H A DToolRunner.cpp354 const std::string &CommandLine, std::string &CmdPath, in lexCommand() argument
363 for (std::size_t Pos = 0u; Pos <= CommandLine.size(); ++Pos) { in lexCommand()
364 if ('\\' == CommandLine[Pos]) { in lexCommand()
365 if (Pos + 1 < CommandLine.size()) in lexCommand()
366 Token.push_back(CommandLine[++Pos]); in lexCommand()
370 if (' ' == CommandLine[Pos] || CommandLine.size() == Pos) { in lexCommand()
385 Token.push_back(CommandLine[Pos]); in lexCommand()
/freebsd-14.2/contrib/llvm-project/lld/MachO/
H A DDriver.cpp261 CommandLine, // Library was passed as a regular CLI argument enumerator
329 case LoadType::CommandLine: in addFile()
544 addFile(rerootPath(path), LoadType::CommandLine, isLazy); in addFileList()
1149 addFile(rerootPath(arg->getValue()), LoadType::CommandLine, isLazy); in createFiles()
1153 addFile(rerootPath(arg->getValue()), LoadType::CommandLine))) in createFiles()
1158 addFile(rerootPath(arg->getValue()), LoadType::CommandLine))) { in createFiles()
1165 addFile(rerootPath(arg->getValue()), LoadType::CommandLine))) in createFiles()
1175 addFile(rerootPath(arg->getValue()), LoadType::CommandLine, in createFiles()
1187 /*isExplicit=*/true, LoadType::CommandLine); in createFiles()
1196 LoadType::CommandLine); in createFiles()
[all …]
/freebsd-14.2/sys/contrib/dev/acpica/include/
H A Dacdebug.h519 char *CommandLine);
/freebsd-14.2/lib/clang/libllvmminimal/
H A DMakefile15 SRCS+= Support/CommandLine.cpp
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDriver.cpp240 std::string CommandLine = Cmd.toString(); in WorkerThread() local
241 Printf("%s\n", CommandLine.c_str()); in WorkerThread()
/freebsd-14.2/contrib/ntp/sntp/libevent/
H A Devent_rpcgen.py1829 class CommandLine(object): class
1910 CommandLine(argv=argv).run()
/freebsd-14.2/contrib/libevent/
H A Devent_rpcgen.py1829 class CommandLine(object): class
1910 CommandLine(argv=argv).run()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DObjdumpOpts.td140 …te<["-"], "mllvm">, HelpText<"Specify an argument to forward to LLVM's CommandLine library">, Meta…
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/Windows/
H A DProcess.inc14 #include "llvm/Support/CommandLine.h"
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h683 CommandLine, ///< Full canonical command line (maybe -cc1) enumerator

12