Lines Matching refs:OptionNames
119 SmallVector<const char*, 16> OptionNames; in GetOptionInfo() local
124 O->getExtraOptionNames(OptionNames); in GetOptionInfo()
126 OptionNames.push_back(O->ArgStr); in GetOptionInfo()
129 for (size_t i = 0, e = OptionNames.size(); i != e; ++i) { in GetOptionInfo()
131 if (OptionsMap.GetOrCreateValue(OptionNames[i], O).second != O) { in GetOptionInfo()
133 << OptionNames[i] << "' defined more than once!\n"; in GetOptionInfo()
137 OptionNames.clear(); in GetOptionInfo()
208 SmallVector<const char*, 16> OptionNames; in LookupNearestOption() local
209 O->getExtraOptionNames(OptionNames); in LookupNearestOption()
211 OptionNames.push_back(O->ArgStr); in LookupNearestOption()
215 for (size_t i = 0, e = OptionNames.size(); i != e; ++i) { in LookupNearestOption()
216 StringRef Name = OptionNames[i]; in LookupNearestOption()
223 NearestString = OptionNames[i]; in LookupNearestOption()
225 NearestString = std::string(OptionNames[i]) + "=" + RHS.str(); in LookupNearestOption()