Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DTooling.cpp268 void addTargetAndModeForProgramName(std::vector<std::string> &CommandLine, in addTargetAndModeForProgramName() argument
270 if (CommandLine.empty() || InvokedAs.empty()) in addTargetAndModeForProgramName()
289 for (auto Token = ++CommandLine.begin(); Token != CommandLine.end(); in addTargetAndModeForProgramName()
297 CommandLine.insert(++CommandLine.begin(), TargetMode.DriverMode); in addTargetAndModeForProgramName()
300 CommandLine.insert(++CommandLine.begin(), in addTargetAndModeForProgramName()
305 void addExpandedResponseFiles(std::vector<std::string> &CommandLine, in addExpandedResponseFiles() argument
311 Argv.reserve(CommandLine.size()); in addExpandedResponseFiles()
312 for (auto &Arg : CommandLine) { in addExpandedResponseFiles()
327 CommandLine = std::move(ExpandedArgv); in addExpandedResponseFiles()
350 std::vector<std::string> CommandLine, ToolAction *Action, in ToolInvocation() argument
[all …]
H A DGuessTargetAndModeCompilationDatabase.cpp41 if (Cmd.CommandLine.empty()) in addTargetAndMode()
43 addTargetAndModeForProgramName(Cmd.CommandLine, Cmd.CommandLine.front()); in addTargetAndMode()
H A DCompilationDatabase.cpp329 std::vector<const char *> CommandLine(DoubleDash + 1, Argv + Argc); in loadFromCommandLine() local
333 if (!stripPositionalArgs(CommandLine, StrippedArgs, ErrorMsg)) in loadFromCommandLine()
368 const Twine &Directory, ArrayRef<std::string> CommandLine) { in FixedCompilationDatabase() argument
371 CommandLine.begin(), CommandLine.end()); in FixedCompilationDatabase()
380 Result[0].CommandLine.push_back(std::string(FilePath)); in getCompileCommands()
H A DLocateToolCompilationDatabase.cpp43 if (Cmd.CommandLine.empty()) in addLocation()
45 std::string &Driver = Cmd.CommandLine.front(); in addLocation()
H A DJSONCompilationDatabase.cpp49 CommandLineArgumentParser(StringRef CommandLine) in CommandLineArgumentParser() argument
50 : Input(CommandLine), Position(Input.begin()-1) {} in CommandLineArgumentParser()
57 CommandLine.push_back(Argument); in parse()
59 return CommandLine; in parse()
127 std::vector<std::string> CommandLine; member in __anon476ab3930111::CommandLineArgumentParser
H A DCommonOptionsParser.cpp79 Command.CommandLine = Adjuster(Command.CommandLine, Command.Filename); in adjustCommands()
H A DExpandResponseFilesCompilationDatabase.cpp49 tooling::addExpandedResponseFiles(Cmd.CommandLine, Cmd.Directory, in expand()
/freebsd/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.h258 ToolInvocation(std::vector<std::string> CommandLine,
270 ToolInvocation(std::vector<std::string> CommandLine, ToolAction *Action,
301 std::vector<std::string> CommandLine; variable
509 void addTargetAndModeForProgramName(std::vector<std::string> &CommandLine,
513 void addExpandedResponseFiles(std::vector<std::string> &CommandLine,
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningWorker.cpp626 createDiagOptions(const std::vector<std::string> &CommandLine) { in createDiagOptions() argument
628 for (const std::string &Arg : CommandLine) in createDiagOptions()
636 StringRef WorkingDirectory, const std::vector<std::string> &CommandLine, in computeDependencies() argument
643 auto DiagOpts = createDiagOptions(CommandLine); in computeDependencies()
646 if (computeDependencies(WorkingDirectory, CommandLine, Consumer, Controller, in computeDependencies()
654 StringRef WorkingDirectory, const std::vector<std::string> &CommandLine, in computeDependencies() argument
661 auto DiagOpts = createDiagOptions(CommandLine); in computeDependencies()
664 if (computeDependencies(WorkingDirectory, CommandLine, Consumer, Controller, in computeDependencies()
712 std::vector<std::string> CommandLine, DependencyScanningAction &Action, in createAndRunToolInvocation() argument
718 std::string Executable = CommandLine[0]; in createAndRunToolInvocation()
[all …]
H A DDependencyScanningTool.cpp75 const std::vector<std::string> &CommandLine, StringRef CWD) { in getDependencyFile() argument
79 Worker.computeDependencies(CWD, CommandLine, Consumer, Controller); in getDependencyFile()
131 auto Result = Worker.computeDependencies(CWD, Command.CommandLine, Consumer, in getP1689ModuleDependencyFile()
144 const std::vector<std::string> &CommandLine, StringRef CWD, in getTranslationUnitDependencies() argument
150 llvm::Error Result = Worker.computeDependencies(CWD, CommandLine, Consumer, in getTranslationUnitDependencies()
160 StringRef ModuleName, const std::vector<std::string> &CommandLine, in getModuleDependencies() argument
165 llvm::Error Result = Worker.computeDependencies(CWD, CommandLine, Consumer, in getModuleDependencies()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningWorker.h101 StringRef WorkingDirectory, const std::vector<std::string> &CommandLine,
112 const std::vector<std::string> &CommandLine,
124 StringRef WorkingDirectory, const std::vector<std::string> &CommandLine,
134 const std::vector<std::string> &CommandLine,
156 const std::vector<std::string> &CommandLine,
H A DDependencyScanningTool.h104 getDependencyFile(const std::vector<std::string> &CommandLine, StringRef CWD);
149 const std::vector<std::string> &CommandLine, StringRef CWD,
158 StringRef ModuleName, const std::vector<std::string> &CommandLine,
/freebsd/sys/contrib/dev/acpica/components/debugger/
H A Ddbinput.c905 char *CommandLine; in AcpiDbCommandDispatch() local
1063 CommandLine = AcpiDbGetFromHistory (AcpiGbl_DbArgs[1]); in AcpiDbCommandDispatch()
1064 if (!CommandLine) in AcpiDbCommandDispatch()
1069 Status = AcpiDbCommandDispatch (CommandLine, WalkState, Op); in AcpiDbCommandDispatch()
1074 CommandLine = AcpiDbGetFromHistory (NULL); in AcpiDbCommandDispatch()
1075 if (!CommandLine) in AcpiDbCommandDispatch()
1080 Status = AcpiDbCommandDispatch (CommandLine, WalkState, Op); in AcpiDbCommandDispatch()
H A Ddbhistry.c194 char *CommandLine) in AcpiDbAddToHistory() argument
201 CmdLen = (UINT16) strlen (CommandLine); in AcpiDbAddToHistory()
227 CommandLine); in AcpiDbAddToHistory()
/freebsd/contrib/llvm-project/clang/tools/clang-scan-deps/
H A DClangScanDeps.cpp100 static std::vector<const char *> CommandLine; variable
243 CommandLine.assign(A->getValues().begin(), A->getValues().end()); in ParseArgs()
793 if (!(CommandLine.empty() ^ CompilationDB.empty())) { in getCompilationDatabase()
808 driver::Driver TheDriver(CommandLine[0], llvm::sys::getDefaultTargetTriple(), in getCompilationDatabase()
812 TheDriver.BuildCompilation(CommandLine)); in getCompilationDatabase()
819 CommandLine[0]); in getCompilationDatabase()
844 ArrayRef<const char *> CommandLine) in getCompilationDatabase() argument
846 for (auto *C : CommandLine) in getCompilationDatabase()
847 Command.CommandLine.push_back(C); in getCompilationDatabase()
871 FEOpts.Inputs[0].getFile(), OutputFile, CommandLine); in getCompilationDatabase()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DToolRunner.cpp348 const std::string &CommandLine, std::string &CmdPath, in lexCommand() argument
357 for (std::size_t Pos = 0u; Pos <= CommandLine.size(); ++Pos) { in lexCommand()
358 if ('\\' == CommandLine[Pos]) { in lexCommand()
359 if (Pos + 1 < CommandLine.size()) in lexCommand()
360 Token.push_back(CommandLine[++Pos]); in lexCommand()
364 if (' ' == CommandLine[Pos] || CommandLine.size() == Pos) { in lexCommand()
379 Token.push_back(CommandLine[Pos]); in lexCommand()
/freebsd/contrib/llvm-project/lld/MachO/
H A DDriver.cpp259 CommandLine, // Library was passed as a regular CLI argument enumerator
342 case LoadType::CommandLine: in addFile()
573 addFile(rerootPath(path), LoadType::CommandLine, isLazy); in addFileList()
1232 addFile(rerootPath(arg->getValue()), LoadType::CommandLine, isLazy); in createFiles()
1236 addFile(rerootPath(arg->getValue()), LoadType::CommandLine))) in createFiles()
1241 addFile(rerootPath(arg->getValue()), LoadType::CommandLine))) { in createFiles()
1248 addFile(rerootPath(arg->getValue()), LoadType::CommandLine))) in createFiles()
1258 addFile(rerootPath(arg->getValue()), LoadType::CommandLine, in createFiles()
1270 /*isExplicit=*/true, LoadType::CommandLine); in createFiles()
1279 LoadType::CommandLine); in createFiles()
[all …]
/freebsd/sys/contrib/dev/acpica/include/
H A Dacdebug.h519 char *CommandLine);
/freebsd/lib/clang/libllvmminimal/
H A DMakefile14 SRCS+= Support/CommandLine.cpp
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDriver.cpp242 std::string CommandLine = Cmd.toString(); in WorkerThread() local
243 Printf("%s\n", CommandLine.c_str()); in WorkerThread()
/freebsd/contrib/ntp/sntp/libevent/
H A Devent_rpcgen.py1829 class CommandLine(object): class
1910 CommandLine(argv=argv).run()
/freebsd/contrib/libevent/
H A Devent_rpcgen.py1829 class CommandLine(object): class
1910 CommandLine(argv=argv).run()
/freebsd/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/contrib/llvm-project/llvm/lib/Support/Windows/
H A DProcess.inc14 #include "llvm/Support/CommandLine.h"

12