Searched refs:NameAndEnum (Results 1 – 2 of 2) sorted by relevance
191 for (const auto &NameAndEnum : Mapping) { in getEnumInt() local193 if (Value.equals_lower(NameAndEnum.second)) in getEnumInt()194 return NameAndEnum.first; in getEnumInt()195 } else if (Value.equals(NameAndEnum.second)) { in getEnumInt()196 return NameAndEnum.first; in getEnumInt()197 } else if (Value.equals_lower(NameAndEnum.second)) { in getEnumInt()198 Closest = NameAndEnum.second; in getEnumInt()202 unsigned Distance = Value.edit_distance(NameAndEnum.second); in getEnumInt()205 Closest = NameAndEnum.second; in getEnumInt()
463 Mapping, [&](const std::pair<T, StringRef> &NameAndEnum) { in store()464 return NameAndEnum.first == Value; in store()