Lines Matching refs:Spellings

57   std::vector<Record *> Spellings = Attr.getValueAsListOfDefs("Spellings");
60 for (const auto &Spelling : Spellings) {
1027 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(R);
1030 if (Spellings.empty()) {
1040 for (unsigned I = 0; I < Spellings.size(); ++I)
1042 " return \"" << Spellings[I].name() << "\";\n";
1053 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(R);
1058 if (Spellings.empty()) {
1069 for (unsigned I = 0; I < Spellings.size(); ++ I) {
1075 std::string Name = Spellings[I].name();
1076 std::string Variety = Spellings[I].variety();
1084 std::string Namespace = Spellings[I].nameSpace();
1098 std::string Namespace = Spellings[I].nameSpace();
1172 std::vector<FlattenedSpelling> Spellings =
1179 for (unsigned Index = 0; Index < Spellings.size(); ++Index) {
1180 OS << getSpellingListIndex(SpellingList, Spellings[Index]);
1181 if (Index != Spellings.size() -1)
1190 SpellingNamesAreCommon(const std::vector<FlattenedSpelling>& Spellings) {
1191 assert(!Spellings.empty() && "An empty list of spellings was provided");
1193 Spellings.front().name());
1195 llvm::make_range(std::next(Spellings.begin()), Spellings.end())) {
1205 CreateSemanticSpellings(const std::vector<FlattenedSpelling> &Spellings,
1214 for (auto I = Spellings.begin(), E = Spellings.end(); I != E; ++I, ++Idx) {
1239 if (I != Spellings.begin())
1266 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*Attr);
1269 for (const auto &I : Spellings) {
1294 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*Attr);
1296 for (const auto &S : Spellings) {
1316 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(Attr);
1318 for (const auto &S : Spellings) {
1346 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*Attr);
1348 for (const auto &S : Spellings) {
1407 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(R);
1412 bool ElideSpelling = (Spellings.size() <= 1) ||
1413 SpellingNamesAreCommon(Spellings);
1419 OS << CreateSemanticSpellings(Spellings, SemanticToSyntacticMap);
1784 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*Attr);
1785 for (const auto &S : Spellings)
1806 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*R);
1807 for (const auto &SI : Spellings) {
1865 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(R);
1867 for (unsigned I = 0; I < Spellings.size(); ++ I) {
1868 OS << " if (Name == \"" << Spellings[I].name() << "\" && "
1870 << StringSwitch<unsigned>(Spellings[I].variety())
1877 << " && Scope == \"" << Spellings[I].nameSpace() << "\")\n"
2408 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(Attr);
2412 if (Spellings.size() <= 1 || SpellingNamesAreCommon(Spellings))
2417 std::string Enum = CreateSemanticSpellings(Spellings, SemanticToSyntacticMap);
2432 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(Attr);
2433 for (const auto &I : Spellings) {
2526 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(Attr);
2527 for (const auto &S : Spellings) {
2593 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(R);
2594 if (Spellings.size() > 1 && !SpellingNamesAreCommon(Spellings))
2684 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*Doc.Attribute);
2691 if (Spellings.size() == 1)
2692 Heading = Spellings.begin()->name();
2695 for (auto I = Spellings.begin(), E = Spellings.end();
2718 for (const auto &I : Spellings) {