Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DCommandLine.cpp123 if (O->ArgStr[0]) { in addOption()
125 if (!OptionsMap.insert(std::make_pair(O->ArgStr, O)).second) { in addOption()
126 errs() << ProgramName << ": CommandLine Error: Option '" << O->ArgStr in addOption()
156 if (O->ArgStr[0]) in removeOption()
157 OptionNames.push_back(O->ArgStr); in removeOption()
187 errs() << ProgramName << ": CommandLine Error: Option '" << O->ArgStr in updateArgStr()
191 OptionsMap.erase(StringRef(O->ArgStr)); in updateArgStr()
233 ArgStr = S; in setArgStr()
301 if (O->ArgStr[0]) in LookupNearestOption()
302 OptionNames.push_back(O->ArgStr); in LookupNearestOption()
[all …]
/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.h206 const char *ArgStr; // The argument string itself (ex: "help", "o")
229 bool hasArgStr() const { return ArgStr[0] != 0; } in hasArgStr()
250 AdditionalVals(0), ArgStr(""), HelpStr(""), ValueStr(""), in Option()
1513 return AliasFor->handleOccurrence(pos, AliasFor->ArgStr, Arg);
1517 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/llvm/unittests/Support/
DCommandLineTest.cpp100 ASSERT_STREQ(ArgString, Retrieved->ArgStr) << in TEST()
/external/llvm/utils/FileCheck/
DFileCheck.cpp864 std::string Prefix = std::string("-") + ImplicitCheckNot.ArgStr + "='"; in ReadCheckFile()
/external/clang/lib/CodeGen/
DTargetInfo.cpp1639 std::string ArgStr = Quote ? "\"" : ""; in qualifyWindowsLibrary() local
1640 ArgStr += Lib; in qualifyWindowsLibrary()
1642 ArgStr += ".lib"; in qualifyWindowsLibrary()
1643 ArgStr += Quote ? "\"" : ""; in qualifyWindowsLibrary()
1644 return ArgStr; in qualifyWindowsLibrary()