/external/llvm/lib/Support/ |
D | CommandLine.cpp | 236 StringRef ArgName, in CommaSeparateAndAddOccurence() argument 247 if (Handler->addOccurrence(pos, ArgName, Val.substr(0, Pos), MultiArg)) in CommaSeparateAndAddOccurence() 259 if (Handler->addOccurrence(pos, ArgName, Value, MultiArg)) in CommaSeparateAndAddOccurence() 268 static inline bool ProvideOption(Option *Handler, StringRef ArgName, in ProvideOption() argument 299 return CommaSeparateAndAddOccurence(Handler, i, ArgName, Value); in ProvideOption() 305 if (CommaSeparateAndAddOccurence(Handler, i, ArgName, Value, MultiArg)) in ProvideOption() 316 if (CommaSeparateAndAddOccurence(Handler, i, ArgName, Value, MultiArg)) in ProvideOption() 621 StringRef ArgName = ""; in ParseCommandLineOptions() local 670 ArgName = argv[i]+1; in ParseCommandLineOptions() 672 while (!ArgName.empty() && ArgName[0] == '-') in ParseCommandLineOptions() [all …]
|
/external/clang/utils/TableGen/ |
D | ClangAttrEmitter.cpp | 619 llvm::StringRef ArgName = Search->getName(); in createArgument() local 621 if (ArgName == "AlignedArgument") Ptr = new AlignedArgument(Arg, Attr); in createArgument() 622 else if (ArgName == "EnumArgument") Ptr = new EnumArgument(Arg, Attr); in createArgument() 623 else if (ArgName == "ExprArgument") Ptr = new ExprArgument(Arg, Attr); in createArgument() 624 else if (ArgName == "FunctionArgument") in createArgument() 626 else if (ArgName == "IdentifierArgument") in createArgument() 628 else if (ArgName == "BoolArgument") Ptr = new SimpleArgument(Arg, Attr, in createArgument() 630 else if (ArgName == "IntArgument") Ptr = new SimpleArgument(Arg, Attr, "int"); in createArgument() 631 else if (ArgName == "StringArgument") Ptr = new StringArgument(Arg, Attr); in createArgument() 632 else if (ArgName == "TypeArgument") in createArgument() [all …]
|
/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 | 155 virtual bool handleOccurrence(unsigned pos, StringRef ArgName, 250 bool addOccurrence(unsigned pos, StringRef ArgName, 254 bool error(const Twine &Message, StringRef ArgName = StringRef()); 627 bool parse(Option &O, StringRef ArgName, StringRef Arg, DataType &V) { 632 ArgVal = ArgName; 720 bool parse(Option &O, StringRef ArgName, StringRef Arg, bool &Val); 749 bool parse(Option &O, StringRef ArgName, StringRef Arg, boolOrDefault &Val); 774 bool parse(Option &O, StringRef ArgName, StringRef Arg, int &Val); 796 bool parse(Option &O, StringRef ArgName, StringRef Arg, unsigned &Val); 817 bool parse(Option &O, StringRef ArgName, StringRef Arg, [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() 109 if (ArgName.empty()) in CGIOperandList() 112 if (!OperandNames.insert(ArgName).second) in CGIOperandList() 116 OperandList.push_back(OperandInfo(Rec, ArgName, PrintMethod, EncoderMethod, in CGIOperandList()
|
/external/clang/lib/Rewrite/Frontend/ |
D | RewriteModernObjC.cpp | 3109 std::string ArgName = "arg"; ArgName += utostr(i); in SynthMsgSendStretCallExpr() local 3110 ArgTypes[i].getAsStringInternal(ArgName, Context->getPrintingPolicy()); in SynthMsgSendStretCallExpr() 3111 str += ", "; str += ArgName; in SynthMsgSendStretCallExpr() 3115 std::string ArgName = "arg"; ArgName += utostr(i); in SynthMsgSendStretCallExpr() local 3116 MsgExprs[i]->getType().getAsStringInternal(ArgName, in SynthMsgSendStretCallExpr() 3118 str += ", "; str += ArgName; in SynthMsgSendStretCallExpr() 4122 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl() local 4135 Constructor += ", void *" + ArgName; in SynthesizeBlockImpl() 4141 QT.getAsStringInternal(ArgName, Context->getPrintingPolicy()); in SynthesizeBlockImpl() 4142 Constructor += ", " + ArgName; in SynthesizeBlockImpl() [all …]
|
D | RewriteObjC.cpp | 3498 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl() local 3511 Constructor += ", void *" + ArgName; in SynthesizeBlockImpl() 3517 QT.getAsStringInternal(ArgName, Context->getPrintingPolicy()); in SynthesizeBlockImpl() 3518 Constructor += ", " + ArgName; in SynthesizeBlockImpl() 3527 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl() local 3533 ArgName = TypeString + ArgName; in SynthesizeBlockImpl() 3534 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
|
/external/llvm/lib/TableGen/ |
D | Record.cpp | 1073 std::string ArgName; in ForeachHelper() local 1075 ArgName = MHSd->getArgName(i); in ForeachHelper() 1085 args.push_back(std::make_pair(Arg, ArgName)); in ForeachHelper()
|
/external/clang/lib/Driver/ |
D | Tools.cpp | 93 const char *ArgName, in addDirectoryList() argument 106 CmdArgs.push_back(ArgName); in addDirectoryList() 109 CmdArgs.push_back(ArgName); in addDirectoryList() 116 CmdArgs.push_back(ArgName); in addDirectoryList() 119 CmdArgs.push_back(ArgName); in addDirectoryList()
|
/external/llvm/docs/ |
D | CommandLine.rst | 1507 bool parse(cl::Option &O, const char *ArgName, const std::string &ArgValue, 1527 bool FileSizeParser::parse(cl::Option &O, const char *ArgName,
|