/external/llvm/lib/Support/ |
D | CommandLine.cpp | 249 StringRef ArgName, in CommaSeparateAndAddOccurence() argument 260 if (Handler->addOccurrence(pos, ArgName, Val.substr(0, Pos), MultiArg)) in CommaSeparateAndAddOccurence() 272 if (Handler->addOccurrence(pos, ArgName, Value, MultiArg)) in CommaSeparateAndAddOccurence() 281 static inline bool ProvideOption(Option *Handler, StringRef ArgName, in ProvideOption() argument 312 return CommaSeparateAndAddOccurence(Handler, i, ArgName, Value); in ProvideOption() 318 if (CommaSeparateAndAddOccurence(Handler, i, ArgName, Value, MultiArg)) in ProvideOption() 329 if (CommaSeparateAndAddOccurence(Handler, i, ArgName, Value, MultiArg)) in ProvideOption() 802 StringRef ArgName = ""; in ParseCommandLineOptions() local 851 ArgName = argv[i]+1; in ParseCommandLineOptions() 853 while (!ArgName.empty() && ArgName[0] == '-') in ParseCommandLineOptions() [all …]
|
/external/llvm/unittests/Support/ |
D | ErrorOrTest.cpp | 73 InvalidArgError(std::string S) : ArgName(S) {} in InvalidArgError() 74 std::string ArgName; member 98 EXPECT_EQ("adena", t4().getError<InvalidArgError>().ArgName); in TEST() 102 EXPECT_EQ("pie", b.getError<InvalidArgError>().ArgName); in TEST()
|
/external/clang/include/clang/Frontend/ |
D | CommandLineSourceLoc.h | 65 inline bool parse(Option &O, StringRef ArgName, StringRef ArgValue, 71 parse(Option &O, StringRef ArgName, StringRef ArgValue, in parse() argument
|
/external/llvm/include/llvm/Support/ |
D | CommandLine.h | 170 virtual bool handleOccurrence(unsigned pos, StringRef ArgName, 268 bool addOccurrence(unsigned pos, StringRef ArgName, 272 bool error(const Twine &Message, StringRef ArgName = StringRef()); 652 bool parse(Option &O, StringRef ArgName, StringRef Arg, DataType &V) { 657 ArgVal = ArgName; 744 bool parse(Option &O, StringRef ArgName, StringRef Arg, bool &Val); 773 bool parse(Option &O, StringRef ArgName, StringRef Arg, boolOrDefault &Val); 798 bool parse(Option &O, StringRef ArgName, StringRef Arg, int &Val); 820 bool parse(Option &O, StringRef ArgName, StringRef Arg, unsigned &Val); 841 bool parse(Option &O, StringRef ArgName, StringRef Arg, [all …]
|
/external/clang/utils/TableGen/ |
D | ClangAttrEmitter.cpp | 706 llvm::StringRef ArgName = Search->getName(); in createArgument() local 708 if (ArgName == "AlignedArgument") Ptr = new AlignedArgument(Arg, Attr); in createArgument() 709 else if (ArgName == "EnumArgument") Ptr = new EnumArgument(Arg, Attr); in createArgument() 710 else if (ArgName == "ExprArgument") Ptr = new ExprArgument(Arg, Attr); in createArgument() 711 else if (ArgName == "FunctionArgument") in createArgument() 713 else if (ArgName == "IdentifierArgument") in createArgument() 715 else if (ArgName == "BoolArgument") Ptr = new SimpleArgument(Arg, Attr, in createArgument() 717 else if (ArgName == "IntArgument") Ptr = new SimpleArgument(Arg, Attr, "int"); in createArgument() 718 else if (ArgName == "StringArgument") Ptr = new StringArgument(Arg, Attr); in createArgument() 719 else if (ArgName == "TypeArgument") in createArgument() [all …]
|
/external/llvm/utils/TableGen/ |
D | CodeGenInstruction.cpp | 54 std::string ArgName; in CGIOperandList() local 57 ArgName = OutDI->getArgName(i); in CGIOperandList() 60 ArgName = InDI->getArgName(i-NumDefs); in CGIOperandList() 108 if (ArgName.empty()) in CGIOperandList() 111 if (!OperandNames.insert(ArgName).second) in CGIOperandList() 115 OperandList.push_back(OperandInfo(Rec, ArgName, PrintMethod, EncoderMethod, in CGIOperandList()
|
/external/clang/lib/Rewrite/Frontend/ |
D | RewriteModernObjC.cpp | 3207 std::string ArgName = "arg"; ArgName += utostr(i); in SynthMsgSendStretCallExpr() local 3208 ArgTypes[i].getAsStringInternal(ArgName, Context->getPrintingPolicy()); in SynthMsgSendStretCallExpr() 3209 str += ", "; str += ArgName; in SynthMsgSendStretCallExpr() 3213 std::string ArgName = "arg"; ArgName += utostr(i); in SynthMsgSendStretCallExpr() local 3214 MsgExprs[i]->getType().getAsStringInternal(ArgName, in SynthMsgSendStretCallExpr() 3216 str += ", "; str += ArgName; in SynthMsgSendStretCallExpr() 4381 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl() local 4394 Constructor += ", void *" + ArgName; in SynthesizeBlockImpl() 4400 QT.getAsStringInternal(ArgName, Context->getPrintingPolicy()); in SynthesizeBlockImpl() 4401 Constructor += ", " + ArgName; in SynthesizeBlockImpl() [all …]
|
D | RewriteObjC.cpp | 3485 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl() local 3498 Constructor += ", void *" + ArgName; in SynthesizeBlockImpl() 3504 QT.getAsStringInternal(ArgName, Context->getPrintingPolicy()); in SynthesizeBlockImpl() 3505 Constructor += ", " + ArgName; in SynthesizeBlockImpl() 3514 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl() local 3520 ArgName = TypeString + ArgName; in SynthesizeBlockImpl() 3521 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
|
/external/clang/lib/Driver/ |
D | Tools.cpp | 95 const char *ArgName, in addDirectoryList() argument 103 StringRef Name(ArgName); in addDirectoryList() 115 CmdArgs.push_back(Args.MakeArgString(std::string(ArgName) + ".")); in addDirectoryList() 117 CmdArgs.push_back(ArgName); in addDirectoryList() 122 CmdArgs.push_back(Args.MakeArgString(std::string(ArgName) + Dirs.substr(0, Delim))); in addDirectoryList() 124 CmdArgs.push_back(ArgName); in addDirectoryList() 133 CmdArgs.push_back(Args.MakeArgString(std::string(ArgName) + ".")); in addDirectoryList() 135 CmdArgs.push_back(ArgName); in addDirectoryList() 140 CmdArgs.push_back(Args.MakeArgString(std::string(ArgName) + Dirs)); in addDirectoryList() 142 CmdArgs.push_back(ArgName); in addDirectoryList()
|
/external/llvm/lib/TableGen/ |
D | Record.cpp | 1086 std::string ArgName; in ForeachHelper() local 1088 ArgName = MHSd->getArgName(i); in ForeachHelper() 1098 args.push_back(std::make_pair(Arg, ArgName)); in ForeachHelper()
|
/external/llvm/docs/ |
D | CommandLine.rst | 1635 bool parse(cl::Option &O, const char *ArgName, const std::string &ArgValue, 1655 bool FileSizeParser::parse(cl::Option &O, const char *ArgName,
|