Home
last modified time | relevance | path

Searched refs:HelpStr (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Support/
DCommandLine.cpp1033 errs() << HelpStr; // Be nice for positional arguments in error()
1081 static void printHelpStr(StringRef HelpStr, size_t Indent, in printHelpStr() argument
1083 std::pair<StringRef, StringRef> Split = HelpStr.split('\n'); in printHelpStr()
1094 printHelpStr(HelpStr, GlobalWidth, std::strlen(ArgStr) + 6); in printOptionInfo()
1123 printHelpStr(O.HelpStr, GlobalWidth, getOptionWidth(O)); in printOptionInfo()
1265 printHelpStr(O.HelpStr, GlobalWidth, std::strlen(O.ArgStr) + 6); in printOptionInfo()
1273 if (O.HelpStr[0]) in printOptionInfo()
1274 outs() << " " << O.HelpStr << '\n'; in printOptionInfo()
1450 outs() << " " << PositionalOpts[i]->HelpStr; in operator =()
1454 if (CAOpt) outs() << " " << CAOpt->HelpStr; in operator =()
/external/llvm/include/llvm/Support/
DCommandLine.h196 const char *HelpStr; // The descriptive text message for -help variable
226 void setDescription(const char *S) { HelpStr = S; } in setDescription()
243 ArgStr(""), HelpStr(""), ValueStr(""), Category(&GeneralCategory) { in Option()
533 Name(name), HelpStr(helpStr) {}
535 const char *HelpStr;
643 return Values[N].HelpStr;
671 void addLiteralOption(const char *Name, const DT &V, const char *HelpStr) {
673 OptionInfo X(Name, static_cast<DataType>(V), HelpStr);
/external/llvm/unittests/Support/
DCommandLineTest.cpp69 ASSERT_STREQ(Retrieved->HelpStr, Description) << in TEST()