Home | History | Annotate | Download | only in Support

Lines Matching defs:argv

283                                  const char *const *argv, int &i) {
294 Value = argv[++i];
327 Value = argv[++i];
412 // we don't need to pass argc/argv in.
632 SmallVectorImpl<const char *> &Argv) {
636 // Don't cache Argv.size() because it can change.
637 for (unsigned I = 0; I != Argv.size(); ) {
638 const char *Arg = Argv[I];
658 Argv.erase(Argv.begin() + I);
659 Argv.insert(Argv.begin() + I, ExpandedArgv.begin(), ExpandedArgv.end());
712 void cl::ParseCommandLineOptions(int argc, const char * const *argv,
726 newArgv.push_back(argv[i]);
729 argv = &newArgv[0];
733 std::string ProgName = sys::path::filename(argv[0]);
819 if (argv[i][0] != '-' || argv[i][1] == 0 || DashDashFound) {
822 ProvidePositionalOption(ActivePositionalArg, argv[i], i);
827 PositionalVals.push_back(std::make_pair(argv[i],i));
835 PositionalVals.push_back(std::make_pair(argv[i],i));
842 } else if (argv[i][0] == '-' && argv[i][1] == '-' && argv[i][2] == 0 &&
851 ArgName = argv[i]+1;
858 ProvidePositionalOption(ActivePositionalArg, argv[i], i);
863 ArgName = argv[i]+1;
885 << argv[i] << "'. Try: '" << argv[0] << " -help'\n";
897 (*I)->addOccurrence(i, "", argv[i]);
907 ErrorParsing |= ProvideOption(Handler, ArgName, Value, argc, argv, i);
915 << " positional arguments: See: " << argv[0] << " -help\n";
923 << " positional arguments: See: " << argv[0] << " -help\n";
1012 dbgs() << argv[i] << ' ';