reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Support/CommandLine.cpp
 1263   SmallVector<const char *, 20> newArgv(argv, argv + argc);
 1263   SmallVector<const char *, 20> newArgv(argv, argv + argc);
 1270   argv = &newArgv[0];
 1274   ProgramName = sys::path::filename(StringRef(argv[0]));
 1290   if (argc >= 2 && argv[FirstArg][0] != '-') {
 1293     ChosenSubCommand = LookupSubCommand(StringRef(argv[FirstArg]));
 1375     if (argv[i][0] != '-' || argv[i][1] == 0 || DashDashFound) {
 1375     if (argv[i][0] != '-' || argv[i][1] == 0 || DashDashFound) {
 1378         ProvidePositionalOption(ActivePositionalArg, StringRef(argv[i]), i);
 1383         PositionalVals.push_back(std::make_pair(StringRef(argv[i]), i));
 1390             PositionalVals.push_back(std::make_pair(StringRef(argv[i]), i));
 1397     } else if (argv[i][0] == '-' && argv[i][1] == '-' && argv[i][2] == 0 &&
 1397     } else if (argv[i][0] == '-' && argv[i][1] == '-' && argv[i][2] == 0 &&
 1397     } else if (argv[i][0] == '-' && argv[i][1] == '-' && argv[i][2] == 0 &&
 1406       ArgName = StringRef(argv[i] + 1);
 1416         ProvidePositionalOption(ActivePositionalArg, StringRef(argv[i]), i);
 1420       ArgName = StringRef(argv[i] + 1);
 1444         *Errs << ProgramName << ": Unknown command line argument '" << argv[i]
 1445               << "'.  Try: '" << argv[0] << " --help'\n";
 1458           (*I)->addOccurrence(i, "", StringRef(argv[i]));
 1475       ErrorParsing |= ProvideOption(Handler, ArgName, Value, argc, argv, i);
 1484              << ": See: " << argv[0] << " --help\n";
 1491           << " positional arguments: See: " << argv[0] << " --help\n";
 1578              for (int i = 0; i < argc; ++i) dbgs() << argv[i] << ' ';