Home
last modified time | relevance | path

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

12

/freebsd-src/contrib/llvm-project/clang/lib/Tooling/
H A DTooling.cpp46 #include "llvm/Support/CommandLine.h"
271 void addTargetAndModeForProgramName(std::vector<std::string> &CommandLine, in addTargetAndModeForProgramName() argument
273 if (CommandLine.empty() || InvokedAs.empty()) in addTargetAndModeForProgramName()
291 // Skip CommandLine[0]. in addTargetAndModeForProgramName()
292 for (auto Token = ++CommandLine.begin(); Token != CommandLine.end(); in addTargetAndModeForProgramName()
300 CommandLine.insert(++CommandLine.begin(), TargetMode.DriverMode); in addTargetAndModeForProgramName()
303 CommandLine.insert(++CommandLine in addTargetAndModeForProgramName()
308 addExpandedResponseFiles(std::vector<std::string> & CommandLine,llvm::StringRef WorkingDir,llvm::cl::TokenizerCallback Tokenizer,llvm::vfs::FileSystem & FS) addExpandedResponseFiles() argument
353 ToolInvocation(std::vector<std::string> CommandLine,ToolAction * Action,FileManager * Files,std::shared_ptr<PCHContainerOperations> PCHContainerOps) ToolInvocation() argument
359 ToolInvocation(std::vector<std::string> CommandLine,std::unique_ptr<FrontendAction> FAction,FileManager * Files,std::shared_ptr<PCHContainerOperations> PCHContainerOps) ToolInvocation() argument
597 std::vector<std::string> CommandLine = CompileCommand.CommandLine; run() local
[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.cpp24 #include "llvm/Support/CommandLine.h"
54 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 __anon0a8d19650111::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-src/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-src/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.cpp508 StringRef WorkingDirectory, const std::vector<std::string> &CommandLine, in computeDependencies()
512 for (const std::string &Arg : CommandLine) in computeDependencies()
523 if (computeDependencies(WorkingDirectory, CommandLine, Consumer, Controller, in ~DependencyActionController()
571 std::vector<std::string> CommandLine, DependencyScanningAction &Action,
576 // Save executable path before providing CommandLine to ToolInvocation
577 std::string Executable = CommandLine[0];
578 ToolInvocation Invocation(std::move(CommandLine), &Action, &FM,
591 StringRef WorkingDirectory, const std::vector<std::string> &CommandLine,
619 ModifiedCommandLine = CommandLine;
624 ModifiedCommandLine ? *ModifiedCommandLine : CommandLine;
341 computeDependencies(StringRef WorkingDirectory,const std::vector<std::string> & CommandLine,DependencyConsumer & Consumer,DependencyActionController & Controller,std::optional<StringRef> ModuleName) computeDependencies() argument
404 createAndRunToolInvocation(std::vector<std::string> CommandLine,DependencyScanningAction & Action,FileManager & FM,std::shared_ptr<clang::PCHContainerOperations> & PCHContainerOps,DiagnosticsEngine & Diags,DependencyConsumer & Consumer) createAndRunToolInvocation() argument
424 computeDependencies(StringRef WorkingDirectory,const std::vector<std::string> & CommandLine,DependencyConsumer & Consumer,DependencyActionController & Controller,DiagnosticConsumer & DC,std::optional<StringRef> ModuleName) computeDependencies() argument
[all...]
/freebsd-src/sys/contrib/dev/acpica/components/debugger/
H A Ddbhistry.c184 * PARAMETERS: CommandLine - Command to add
194 char *CommandLine) in AcpiDbAddToHistory() argument
201 CmdLen = (UINT16) strlen (CommandLine); in AcpiDbAddToHistory()
227 CommandLine); in AcpiDbAddToHistory()
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()
/freebsd-src/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-src/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-src/contrib/llvm-project/lld/MachO/
H A DDriver.cpp43 #include "llvm/Support/CommandLine.h"
262 CommandLine, // Library was passed as a regular CLI argument
347 case LoadType::CommandLine: in addFile()
577 addFile(rerootPath(path), LoadType::CommandLine, isLazy); in compileBitcodeFiles()
1220 addFile(rerootPath(arg->getValue()), LoadType::CommandLine, isLazy); in gatherInputSections()
1224 addFile(rerootPath(arg->getValue()), LoadType::CommandLine))) in gatherInputSections()
1229 addFile(rerootPath(arg->getValue()), LoadType::CommandLine))) { in gatherInputSections()
1236 addFile(rerootPath(arg->getValue()), LoadType::CommandLine))) in gatherInputSections()
1246 addFile(rerootPath(arg->getValue()), LoadType::CommandLine, in gatherInputSections()
1258 /*isExplicit=*/true, LoadType::CommandLine); in gatherInputSections()
261 CommandLine, // Library was passed as a regular CLI argument global() enumerator
[all...]
/freebsd-src/sys/contrib/dev/acpica/include/
H A Dacdebug.h519 char *CommandLine);
/freebsd-src/lib/clang/libllvmminimal/
H A DMakefile14 SRCS+= Support/CommandLine.cpp
/freebsd-src/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDriver.cpp241 std::string CommandLine = Cmd.toString(); in WorkerThread()
242 Printf("%s\n", CommandLine.c_str()); in WorkerThread()
240 std::string CommandLine = Cmd.toString(); WorkerThread() local
/freebsd-src/contrib/ntp/sntp/libevent/
H A Devent_rpcgen.py1829 class CommandLine(object): class
1910 CommandLine(argv=argv).run()
/freebsd-src/contrib/libevent/
H A Devent_rpcgen.py1829 class CommandLine(object): class
1910 CommandLine(argv=argv).run()
/freebsd-src/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DObjdumpOpts.td140 def mllvm : Separate<["-"], "mllvm">, HelpText<"Specify an argument to forward to LLVM's CommandLine library">, MetaVarName<"<arg>">;
/freebsd-src/contrib/llvm-project/llvm/lib/Support/Windows/
H A DProcess.inc14 #include "llvm/Support/CommandLine.h"
/freebsd-src/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h683 CommandLine, ///< Full canonical command line (maybe -cc1) enumerator

12