Lines Matching refs:Opts
1453 SmallVectorImpl<std::pair<const char *, Option *>> &Opts,
1471 Opts.push_back(
1476 array_pod_sort(Opts.begin(), Opts.end(), OptNameCompare);
1486 // Print the options. Opts is assumed to be alphabetically sorted.
1487 virtual void printOptions(StrOptionPairVector &Opts, size_t MaxArgLen) {
1488 for (size_t i = 0, e = Opts.size(); i != e; ++i)
1489 Opts[i].second->printOptionInfo(MaxArgLen);
1501 StrOptionPairVector Opts;
1502 sortOpts(GlobalParser->OptionsMap, Opts, ShowHidden);
1523 for (size_t i = 0, e = Opts.size(); i != e; ++i)
1524 MaxArgLen = std::max(MaxArgLen, Opts[i].second->getOptionWidth());
1527 printOptions(Opts, MaxArgLen);
1555 void printOptions(StrOptionPairVector &Opts, size_t MaxArgLen) override {
1582 for (size_t I = 0, E = Opts.size(); I != E; ++I) {
1583 Option *Opt = Opts[I].second;
1722 SmallVector<std::pair<const char *, Option *>, 128> Opts;
1723 sortOpts(OptionsMap, Opts, /*ShowHidden*/ true);
1727 for (size_t i = 0, e = Opts.size(); i != e; ++i)
1728 MaxArgLen = std::max(MaxArgLen, Opts[i].second->getOptionWidth());
1730 for (size_t i = 0, e = Opts.size(); i != e; ++i)
1731 Opts[i].second->printOptionValue(MaxArgLen, PrintAllOptions);