Home
last modified time | relevance | path

Searched refs:ArgStr (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Support/
DCommandLine.cpp122 if (O->ArgStr[0]) in GetOptionInfo()
123 OptionNames.push_back(O->ArgStr); in GetOptionInfo()
207 if (O->ArgStr[0]) in LookupNearestOption()
208 OptionNames.push_back(O->ArgStr); in LookupNearestOption()
329 return ProvideOption(Handler, Handler->ArgStr, Arg, 0, 0, Dummy); in ProvidePositionalOption()
592 } else if (UnboundedFound && !Opt->ArgStr[0]) { in ParseCommandLineOptions()
861 if (ArgName.data() == 0) ArgName = ArgStr; in error()
909 return std::strlen(ArgStr)+6; in getOptionWidth()
914 size_t L = std::strlen(ArgStr); in printOptionInfo()
915 outs() << " -" << ArgStr; in printOptionInfo()
[all …]
/external/llvm/lib/Support/
DCommandLine.cpp147 if (!SC->OptionsMap.insert(std::make_pair(O->ArgStr, O)).second) { in addOption()
148 errs() << ProgramName << ": CommandLine Error: Option '" << O->ArgStr in addOption()
198 OptionNames.push_back(O->ArgStr); in removeOption()
255 errs() << ProgramName << ": CommandLine Error: Option '" << O->ArgStr in updateArgStr()
259 Sub.OptionsMap.erase(O->ArgStr); in updateArgStr()
356 ArgStr = S; in setArgStr()
470 OptionNames.push_back(O->ArgStr); in LookupNearestOption()
582 return ProvideOption(Handler, Handler->ArgStr, Arg, 0, nullptr, Dummy); in ProvidePositionalOption()
1083 << Opt->ArgStr << "' is all messed up!\n"; in ParseCommandLineOptions()
1334 ArgName = ArgStr; in error()
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DCommandLine.cpp161 if (!SC->OptionsMap.insert(std::make_pair(O->ArgStr, O)).second) { in addOption()
162 errs() << ProgramName << ": CommandLine Error: Option '" << O->ArgStr in addOption()
212 OptionNames.push_back(O->ArgStr); in removeOption()
269 errs() << ProgramName << ": CommandLine Error: Option '" << O->ArgStr in updateArgStr()
273 Sub.OptionsMap.erase(O->ArgStr); in updateArgStr()
376 ArgStr = S; in setArgStr()
490 OptionNames.push_back(O->ArgStr); in LookupNearestOption()
601 return ProvideOption(Handler, Handler->ArgStr, Arg, 0, nullptr, Dummy); in ProvidePositionalOption()
1105 << Opt->ArgStr << "' is all messed up!\n"; in ParseCommandLineOptions()
1357 ArgName = ArgStr; in error()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DOptions.h96 static void registerOption(StringRef ArgStr, StringRef Desc, in registerOption() argument
98 cl::opt<ValT> *Option = new cl::opt<ValT>(ArgStr, cl::desc(Desc), in registerOption()
DCommandLine.h256 StringRef ArgStr; // The argument string itself (ex: "help", "o")
284 bool hasArgStr() const { return !ArgStr.empty(); } in hasArgStr()
1651 return AliasFor->handleOccurrence(pos, AliasFor->ArgStr, Arg);
1656 return AliasFor->addOccurrence(pos, AliasFor->ArgStr, Value, MultiArg);
/external/llvm/include/llvm/Support/
DOptions.h96 static void registerOption(const char *ArgStr, const char *Desc, in registerOption() argument
98 cl::opt<ValT> *Option = new cl::opt<ValT>(ArgStr, cl::desc(Desc), in registerOption()
DCommandLine.h250 StringRef ArgStr; // The argument string itself (ex: "help", "o")
274 bool hasArgStr() const { return !ArgStr.empty(); } in hasArgStr()
306 AdditionalVals(0), ArgStr(""), HelpStr(""), ValueStr(""), in Option()
1632 return AliasFor->handleOccurrence(pos, AliasFor->ArgStr, Arg);
1636 return AliasFor->addOccurrence(pos, AliasFor->ArgStr, Value, MultiArg);
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTestExprVisitor.cpp35 std::string ArgStr; in TraverseTemplateArgumentLoc() local
36 llvm::raw_string_ostream Stream(ArgStr); in TraverseTemplateArgumentLoc()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DCommandLine.h176 const char *ArgStr; // The argument string itself (ex: "help", "o")
201 bool hasArgStr() const { return ArgStr[0] != 0; } in hasArgStr()
206 void setArgStr(const char *S) { ArgStr = S; } in setArgStr()
227 ArgStr(""), HelpStr(""), ValueStr("") { in Option()
714 const char *ArgStr;
722 ArgStr = O.ArgStr;
1610 return AliasFor->handleOccurrence(pos, AliasFor->ArgStr, Arg);
/external/llvm/unittests/Support/
DCommandLineTest.cpp118 ASSERT_STREQ(ArgString, Retrieved->ArgStr.data()) in TEST()
/external/clang/lib/Frontend/
DCompilerInvocation.cpp681 StringRef ArgStr(arg); in ParseCodeGenArgs() local
682 Opts.CmdArgs.insert(Opts.CmdArgs.end(), ArgStr.begin(), ArgStr.end()); in ParseCodeGenArgs()
/external/llvm/utils/FileCheck/
DFileCheck.cpp890 std::string Prefix = (Twine("-") + ImplicitCheckNot.ArgStr + "='").str(); in ReadCheckFile()
/external/clang/lib/CodeGen/
DTargetInfo.cpp2139 std::string ArgStr = Quote ? "\"" : ""; in qualifyWindowsLibrary() local
2140 ArgStr += Lib; in qualifyWindowsLibrary()
2142 ArgStr += ".lib"; in qualifyWindowsLibrary()
2143 ArgStr += Quote ? "\"" : ""; in qualifyWindowsLibrary()
2144 return ArgStr; in qualifyWindowsLibrary()