Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/
H A DTooling.cpp246 void addTargetAndModeForProgramName(std::vector<std::string> &CommandLine, in addTargetAndModeForProgramName() argument
248 if (CommandLine.empty() || InvokedAs.empty()) in addTargetAndModeForProgramName()
267 for (auto Token = ++CommandLine.begin(); Token != CommandLine.end(); in addTargetAndModeForProgramName()
275 CommandLine.insert(++CommandLine.begin(), TargetMode.DriverMode); in addTargetAndModeForProgramName()
278 CommandLine.insert(++CommandLine.begin(), in addTargetAndModeForProgramName()
303 std::vector<std::string> CommandLine, ToolAction *Action, in ToolInvocation() argument
305 : CommandLine(std::move(CommandLine)), Action(Action), OwnsAction(false), in ToolInvocation()
309 std::vector<std::string> CommandLine, in ToolInvocation() argument
312 : CommandLine(std::move(CommandLine)), in ToolInvocation()
324 for (const std::string &Str : CommandLine) in run()
[all …]
H A DInterpolatingCompilationDatabase.cpp138 ClangCLMode(checkIsCLMode(Cmd.CommandLine)) { in TransferableCommand()
139 std::vector<std::string> OldArgs = std::move(Cmd.CommandLine); in TransferableCommand()
140 Cmd.CommandLine.clear(); in TransferableCommand()
157 Cmd.CommandLine.emplace_back(OldArgs.front()); in TransferableCommand()
197 Cmd.CommandLine.insert(Cmd.CommandLine.end(), in TransferableCommand()
229 Result.CommandLine.push_back(std::string(Flag)); in transferTo()
231 Result.CommandLine.push_back("-x"); in transferTo()
232 Result.CommandLine.push_back(types::getTypeName(TargetType)); in transferTo()
238 Result.CommandLine.emplace_back(( in transferTo()
243 Result.CommandLine.push_back("--"); in transferTo()
[all …]
H A DGuessTargetAndModeCompilationDatabase.cpp41 if (Cmd.CommandLine.empty()) in addTargetAndMode()
43 addTargetAndModeForProgramName(Cmd.CommandLine, Cmd.CommandLine.front()); in addTargetAndMode()
H A DCompilationDatabase.cpp333 std::vector<const char *> CommandLine(DoubleDash + 1, Argv + Argc); in loadFromCommandLine() local
337 if (!stripPositionalArgs(CommandLine, StrippedArgs, ErrorMsg)) in loadFromCommandLine()
372 const Twine &Directory, ArrayRef<std::string> CommandLine) { in FixedCompilationDatabase() argument
375 CommandLine.begin(), CommandLine.end()); in FixedCompilationDatabase()
384 Result[0].CommandLine.push_back(std::string(FilePath)); in getCompileCommands()
H A DExpandResponseFilesCompilationDatabase.cpp54 Argv.reserve(Cmd.CommandLine.size()); in expand()
55 for (auto &Arg : Cmd.CommandLine) { in expand()
67 Cmd.CommandLine = std::move(ExpandedArgv); in expand()
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 __anon39e321de0111::CommandLineArgumentParser
H A DCommonOptionsParser.cpp79 Command.CommandLine = Adjuster(Command.CommandLine, Command.Filename); in adjustCommands()
/netbsd-src/external/apache2/llvm/dist/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.h245 ToolInvocation(std::vector<std::string> CommandLine,
257 ToolInvocation(std::vector<std::string> CommandLine, ToolAction *Action,
279 std::vector<std::string> CommandLine; variable
492 void addTargetAndModeForProgramName(std::vector<std::string> &CommandLine,
/netbsd-src/sys/external/bsd/acpica/dist/debugger/
H A Ddbinput.c797 char *CommandLine; in AcpiDbCommandDispatch() local
955 CommandLine = AcpiDbGetFromHistory (AcpiGbl_DbArgs[1]); in AcpiDbCommandDispatch()
956 if (!CommandLine) in AcpiDbCommandDispatch()
961 Status = AcpiDbCommandDispatch (CommandLine, WalkState, Op); in AcpiDbCommandDispatch()
966 CommandLine = AcpiDbGetFromHistory (NULL); in AcpiDbCommandDispatch()
967 if (!CommandLine) in AcpiDbCommandDispatch()
972 Status = AcpiDbCommandDispatch (CommandLine, WalkState, Op); in AcpiDbCommandDispatch()
H A Ddbhistry.c86 char *CommandLine) in AcpiDbAddToHistory() argument
93 CmdLen = (UINT16) strlen (CommandLine); in AcpiDbAddToHistory()
119 CommandLine); in AcpiDbAddToHistory()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/KillTheDoctor/
H A DKillTheDoctor.cpp317 std::string CommandLine(ProgramToRun); in main() local
322 errs() << ToolName << ": Failed to find program: '" << CommandLine in main()
331 CommandLine.push_back(' '); in main()
332 CommandLine.append(Arg); in main()
337 << ToolName << ": Command Line: " << CommandLine << '\n'; in main()
351 const_cast<LPSTR>(CommandLine.c_str()), in main()
/netbsd-src/external/apache2/llvm/dist/llvm/docs/
H A DCommandLine.rst2 CommandLine 2.0 Library Manual
11 This document describes the CommandLine argument processing library. It will
12 show you how to use it, and what it can do. The CommandLine library uses a
20 CommandLine library to have the following features:
22 #. Speed: The CommandLine library is very quick and uses little resources. The
29 #. Type Safe: As a user of CommandLine, you don't have to worry about
34 #. No subclasses required: To use CommandLine, you instantiate variables that
45 #. Cleaner: CommandLine supports enum and other types directly, meaning that
50 #. Powerful: The CommandLine library supports many different types of arguments,
53 possible because CommandLine is...
[all …]
H A DUserGuides.rst27 CommandLine
193 :doc:`CommandLine`
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXCompilationDatabase.cpp128 return static_cast<CompileCommand *>(CCmd)->CommandLine.size(); in clang_CompileCommand_getNumArgs()
139 if (Arg >= Cmd->CommandLine.size()) in clang_CompileCommand_getArg()
142 return cxstring::createRef(Cmd->CommandLine[Arg].c_str()); in clang_CompileCommand_getArg()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
H A DFuzzerDriver.cpp220 std::string CommandLine = Cmd.toString(); in WorkerThread() local
221 Printf("%s\n", CommandLine.c_str()); in WorkerThread()
396 std::string CommandLine = Cmd.toString(); in MinimizeCrashInput() local
397 Printf("CRASH_MIN: executing: %s\n", CommandLine.c_str()); in MinimizeCrashInput()
416 CommandLine = Cmd.toString(); in MinimizeCrashInput()
417 Printf("CRASH_MIN: executing: %s\n", CommandLine.c_str()); in MinimizeCrashInput()
/netbsd-src/sys/external/bsd/acpica/dist/include/
H A Dacdebug.h411 char *CommandLine);
/netbsd-src/external/apache2/llvm/lib/libLLVMSupport/
H A DMakefile34 CommandLine.cpp \
/netbsd-src/external/apache2/llvm/dist/clang/docs/
H A DLibTooling.rst63 #include "llvm/Support/CommandLine.h"
118 #include "llvm/Support/CommandLine.h"
/netbsd-src/external/apache2/llvm/dist/llvm/utils/gn/secondary/llvm/lib/Support/
H A DBUILD.gn59 "CommandLine.cpp",
/netbsd-src/external/gpl3/gdb/dist/sim/arm/
H A Darminit.c116 state->CommandLine = NULL; in ARMul_NewState()
/netbsd-src/sys/external/bsd/gnu-efi/dist/inc/
H A Defishell.h109 IN CHAR16 *CommandLine OPTIONAL,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DCMakeLists.txt109 CommandLine.cpp
/netbsd-src/external/bsd/libevent/dist/
H A Devent_rpcgen.py1829 class CommandLine(object): class
1910 CommandLine(argv=argv).run()

12