/openbsd-current/gnu/usr.bin/binutils/gdb/rdi-share/ |
H A D | hsys.h | 42 char **CommandLine ; /* Ptr to cmd line d`string held by ardi.c */ member in struct:__anon4611
|
H A D | hsys.c | 96 (*stateptr)->CommandLine=cmdline; 310 DebugPrintF(("CL_GetCmdLine: \"%s\"\n", *(stateptr->CommandLine))); 313 len = strlen(*(stateptr->CommandLine)); 319 strncpy((char *) BUFFERDATA(buffhead)+24,*(stateptr->CommandLine),
|
/openbsd-current/gnu/llvm/clang/lib/Tooling/ |
H A D | GuessTargetAndModeCompilationDatabase.cpp | 41 if (Cmd.CommandLine.empty()) 43 addTargetAndModeForProgramName(Cmd.CommandLine, Cmd.CommandLine.front());
|
H A D | ExpandResponseFilesCompilationDatabase.cpp | 12 #include "llvm/Support/CommandLine.h" 54 Argv.reserve(Cmd.CommandLine.size()); 55 for (auto &Arg : Cmd.CommandLine) { 69 // Don't assign directly, Argv aliases CommandLine. 71 Cmd.CommandLine = std::move(ExpandedArgv);
|
H A D | Tooling.cpp | 265 void addTargetAndModeForProgramName(std::vector<std::string> &CommandLine, argument 267 if (CommandLine.empty() || InvokedAs.empty()) 285 // Skip CommandLine[0]. 286 for (auto Token = ++CommandLine.begin(); Token != CommandLine.end(); 294 CommandLine.insert(++CommandLine.begin(), TargetMode.DriverMode); 297 CommandLine.insert(++CommandLine.begin(), 322 std::vector<std::string> CommandLine, ToolActio 321 ToolInvocation( std::vector<std::string> CommandLine, ToolAction *Action, FileManager *Files, std::shared_ptr<PCHContainerOperations> PCHContainerOps) argument 327 ToolInvocation( std::vector<std::string> CommandLine, std::unique_ptr<FrontendAction> FAction, FileManager *Files, std::shared_ptr<PCHContainerOperations> PCHContainerOps) argument 566 std::vector<std::string> CommandLine = CompileCommand.CommandLine; local [all...] |
H A D | InterpolatingCompilationDatabase.cpp | 128 // Flags that should not apply to all files are stripped from CommandLine. 139 std::vector<std::string> OldArgs = std::move(Cmd.CommandLine); 140 Cmd.CommandLine.clear(); 160 Cmd.CommandLine.emplace_back(OldArgs.front()); 200 Cmd.CommandLine.insert(Cmd.CommandLine.end(), 232 Result.CommandLine.push_back(std::string(Flag)); 234 Result.CommandLine.push_back("-x"); 235 Result.CommandLine.push_back(types::getTypeName(TargetType)); 241 Result.CommandLine [all...] |
H A D | JSONCompilationDatabase.cpp | 25 #include "llvm/Support/CommandLine.h" 54 CommandLineArgumentParser(StringRef CommandLine) argument 55 : Input(CommandLine), Position(Input.begin()-1) {} 62 CommandLine.push_back(Argument); 64 return CommandLine; 132 std::vector<std::string> CommandLine; member in class:__anon1111::CommandLineArgumentParser
|
H A D | CompilationDatabase.cpp | 333 std::vector<const char *> CommandLine(DoubleDash + 1, Argv + Argc); 337 if (!stripPositionalArgs(CommandLine, StrippedArgs, ErrorMsg)) 372 const Twine &Directory, ArrayRef<std::string> CommandLine) { 375 CommandLine.begin(), CommandLine.end()); 384 Result[0].CommandLine.push_back(std::string(FilePath)); 371 FixedCompilationDatabase( const Twine &Directory, ArrayRef<std::string> CommandLine) argument
|
H A D | CommonOptionsParser.cpp | 28 #include "llvm/Support/CommandLine.h" 79 Command.CommandLine = Adjuster(Command.CommandLine, Command.Filename);
|
/openbsd-current/gnu/llvm/clang/include/clang/Tooling/ |
H A D | CompilationDatabase.h | 47 std::vector<std::string> CommandLine, const Twine &Output) 49 CommandLine(std::move(CommandLine)), Output(Output.str()) {} 58 std::vector<std::string> CommandLine; member in struct:clang::tooling::CompileCommand 70 LHS.CommandLine == RHS.CommandLine && LHS.Output == RHS.Output && 200 ArrayRef<std::string> CommandLine); 46 CompileCommand(const Twine &Directory, const Twine &Filename, std::vector<std::string> CommandLine, const Twine &Output) argument
|
H A D | Tooling.h | 243 /// \param CommandLine The command line arguments to clang. Note that clang 244 /// uses its binary name (CommandLine[0]) to locate its builtin headers. 252 ToolInvocation(std::vector<std::string> CommandLine, 259 /// \param CommandLine The command line arguments to clang. 264 ToolInvocation(std::vector<std::string> CommandLine, ToolAction *Action, 292 std::vector<std::string> CommandLine; member in class:clang::tooling::ToolInvocation 486 /// Changes CommandLine to contain implicit flags that would have been 491 /// be inserted after the first argument in \c CommandLine. 494 /// are already present in `CommandLine` (even if they have different settings 499 /// \param CommandLine th [all...] |
/openbsd-current/gnu/llvm/clang/tools/libclang/ |
H A D | CXCompilationDatabase.cpp | 128 return static_cast<CompileCommand *>(CCmd)->CommandLine.size(); 139 if (Arg >= Cmd->CommandLine.size()) 142 return cxstring::createRef(Cmd->CommandLine[Arg].c_str());
|
/openbsd-current/gnu/llvm/clang/include/clang/Tooling/DependencyScanning/ |
H A D | DependencyScanningWorker.h | 84 const std::vector<std::string> &CommandLine, 92 const std::vector<std::string> &CommandLine,
|
H A D | DependencyScanningTool.h | 93 getDependencyFile(const std::vector<std::string> &CommandLine, StringRef CWD, 127 getFullDependencies(const std::vector<std::string> &CommandLine, 133 const std::vector<std::string> &CommandLine, StringRef CWD,
|
/openbsd-current/gnu/llvm/clang/lib/Tooling/DependencyScanning/ |
H A D | DependencyScanningTool.cpp | 104 const std::vector<std::string> &CommandLine, StringRef CWD, 108 Worker.computeDependencies(CWD, CommandLine, Consumer, ModuleName); 150 auto Result = Worker.computeDependencies(CWD, Command.CommandLine, Consumer); 162 const std::vector<std::string> &CommandLine, StringRef CWD, 169 Worker.computeDependencies(CWD, CommandLine, Consumer, ModuleName); 177 const std::vector<std::string> &CommandLine, StringRef CWD, 184 Worker.computeDependencies(CWD, CommandLine, Consumer, ModuleName); 187 return Consumer.getFullDependenciesLegacyDriverCommand(CommandLine); 103 getDependencyFile( const std::vector<std::string> &CommandLine, StringRef CWD, std::optional<StringRef> ModuleName) argument 161 getFullDependencies( const std::vector<std::string> &CommandLine, StringRef CWD, const llvm::StringSet<> &AlreadySeen, LookupModuleOutputCallback LookupModuleOutput, std::optional<StringRef> ModuleName) argument 176 getFullDependenciesLegacyDriverCommand( const std::vector<std::string> &CommandLine, StringRef CWD, const llvm::StringSet<> &AlreadySeen, LookupModuleOutputCallback LookupModuleOutput, std::optional<StringRef> ModuleName) argument
|
H A D | DependencyScanningWorker.cpp | 344 StringRef WorkingDirectory, const std::vector<std::string> &CommandLine, 347 for (const std::string &Arg : CommandLine) 358 if (computeDependencies(WorkingDirectory, CommandLine, Consumer, DiagPrinter, 390 StringRef WorkingDirectory, const std::vector<std::string> &CommandLine, 399 ModifiedCommandLine = CommandLine; 413 ModifiedCommandLine ? *ModifiedCommandLine : CommandLine; 420 std::vector<const char *> FinalCCommandLine(CommandLine.size(), nullptr); 421 llvm::transform(CommandLine, FinalCCommandLine.begin(), 343 computeDependencies( StringRef WorkingDirectory, const std::vector<std::string> &CommandLine, DependencyConsumer &Consumer, std::optional<StringRef> ModuleName) argument 389 computeDependencies( StringRef WorkingDirectory, const std::vector<std::string> &CommandLine, DependencyConsumer &Consumer, DiagnosticConsumer &DC, std::optional<StringRef> ModuleName) argument
|
/openbsd-current/gnu/llvm/llvm/utils/KillTheDoctor/ |
H A D | KillTheDoctor.cpp | 38 #include "llvm/Support/CommandLine.h" 311 std::string CommandLine(ProgramToRun); 316 errs() << ToolName << ": Failed to find program: '" << CommandLine 325 CommandLine.push_back(' '); 326 CommandLine.append(Arg); 331 << ToolName << ": Command Line: " << CommandLine << '\n'; local 345 const_cast<LPSTR>(CommandLine.c_str()),
|
/openbsd-current/gnu/llvm/clang/tools/clang-scan-deps/ |
H A D | ClangScanDeps.cpp | 19 #include "llvm/Support/CommandLine.h" 567 std::vector<const char *> CommandLine(DoubleDash + 1, argv + argc); 571 driver::Driver TheDriver(CommandLine[0], llvm::sys::getDefaultTargetTriple(), 574 TheDriver.BuildCompilation(CommandLine)); 581 CommandLine[0]); 604 ArrayRef<const char *> CommandLine) 606 for (auto *C : CommandLine) 607 Command.CommandLine.push_back(C); 631 FEOpts.Inputs[0].getFile(), OutputFile, CommandLine); 759 OutputDir = getModuleCachePath(Input->CommandLine); 603 InplaceCompilationDatabase(StringRef InputFile, StringRef OutputFile, ArrayRef<const char *> CommandLine) argument [all...] |
/openbsd-current/gnu/llvm/llvm/tools/bugpoint/ |
H A D | ToolRunner.cpp | 15 #include "llvm/Support/CommandLine.h" 332 // Tokenize the CommandLine to the command and the args to allow 354 const std::string &CommandLine, std::string &CmdPath, 363 for (std::size_t Pos = 0u; Pos <= CommandLine.size(); ++Pos) { 364 if ('\\' == CommandLine[Pos]) { 365 if (Pos + 1 < CommandLine.size()) 366 Token.push_back(CommandLine[++Pos]); 370 if (' ' == CommandLine[Pos] || CommandLine.size() == Pos) { 385 Token.push_back(CommandLine[Po 353 lexCommand(const char *Argv0, std::string &Message, const std::string &CommandLine, std::string &CmdPath, std::vector<std::string> &Args) argument [all...] |
/openbsd-current/gnu/usr.bin/clang/libLLVMSupport/ |
H A D | Makefile.shared | 42 CommandLine.cpp \
|
H A D | Makefile | 43 CommandLine.cpp \
|
/openbsd-current/gnu/llvm/lld/MachO/ |
H A D | Driver.cpp | 43 #include "llvm/Support/CommandLine.h" 256 CommandLine, // Library was passed as a regular CLI argument member in class:LoadType 324 case LoadType::CommandLine: 521 addFile(rerootPath(path), LoadType::CommandLine, isLazy); member in class:LoadType 1120 addFile(rerootPath(arg->getValue()), LoadType::CommandLine, isLazy); member in class:LoadType 1124 addFile(rerootPath(arg->getValue()), LoadType::CommandLine))) 1129 addFile(rerootPath(arg->getValue()), LoadType::CommandLine))) { 1136 addFile(rerootPath(arg->getValue()), LoadType::CommandLine))) 1146 addFile(rerootPath(arg->getValue()), LoadType::CommandLine, member in class:LoadType 1158 /*isExplicit=*/true, LoadType::CommandLine); [all...] |
/openbsd-current/gnu/llvm/compiler-rt/lib/fuzzer/ |
H A D | FuzzerDriver.cpp | 240 std::string CommandLine = Cmd.toString(); local 241 Printf("%s\n", CommandLine.c_str());
|
/openbsd-current/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | TypeRecord.h | 683 CommandLine, ///< Full canonical command line (maybe -cc1) enumerator in enum:llvm::codeview::BuildInfoRecord::BuildInfoArg
|
/openbsd-current/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinter.cpp | 2755 MCSection *CommandLine = getObjFileLowering().getSectionForCommandLines(); local 2756 if (!CommandLine) 2764 OutStreamer->switchSection(CommandLine);
|