Lines Matching refs:Spellings
61 std::vector<Record *> Spellings = Attr.getValueAsListOfDefs("Spellings"); in GetFlattenedSpellings() local
64 for (const auto &Spelling : Spellings) { in GetFlattenedSpellings()
1101 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(R); in writeGetSpellingFunction() local
1104 if (Spellings.empty()) { in writeGetSpellingFunction()
1114 for (unsigned I = 0; I < Spellings.size(); ++I) in writeGetSpellingFunction()
1116 " return \"" << Spellings[I].name() << "\";\n"; in writeGetSpellingFunction()
1127 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(R); in writePrettyPrintFunction() local
1132 if (Spellings.empty()) { in writePrettyPrintFunction()
1143 for (unsigned I = 0; I < Spellings.size(); ++ I) { in writePrettyPrintFunction()
1149 std::string Name = Spellings[I].name(); in writePrettyPrintFunction()
1150 std::string Variety = Spellings[I].variety(); in writePrettyPrintFunction()
1158 std::string Namespace = Spellings[I].nameSpace(); in writePrettyPrintFunction()
1172 std::string Namespace = Spellings[I].nameSpace(); in writePrettyPrintFunction()
1262 std::vector<FlattenedSpelling> Spellings = in writeAttrAccessorDefinition() local
1269 for (unsigned Index = 0; Index < Spellings.size(); ++Index) { in writeAttrAccessorDefinition()
1270 OS << getSpellingListIndex(SpellingList, Spellings[Index]); in writeAttrAccessorDefinition()
1271 if (Index != Spellings.size() -1) in writeAttrAccessorDefinition()
1280 SpellingNamesAreCommon(const std::vector<FlattenedSpelling>& Spellings) { in SpellingNamesAreCommon() argument
1281 assert(!Spellings.empty() && "An empty list of spellings was provided"); in SpellingNamesAreCommon()
1283 Spellings.front().name()); in SpellingNamesAreCommon()
1285 llvm::make_range(std::next(Spellings.begin()), Spellings.end())) { in SpellingNamesAreCommon()
1295 CreateSemanticSpellings(const std::vector<FlattenedSpelling> &Spellings, in CreateSemanticSpellings() argument
1304 for (auto I = Spellings.begin(), E = Spellings.end(); I != E; ++I, ++Idx) { in CreateSemanticSpellings()
1329 if (I != Spellings.begin()) in CreateSemanticSpellings()
1360 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*Attr); in emitClangAttrLateParsedList() local
1363 for (const auto &I : Spellings) { in emitClangAttrLateParsedList()
1388 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*Attr); in emitClangAttrTypeArgList() local
1390 for (const auto &S : Spellings) { in emitClangAttrTypeArgList()
1410 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(Attr); in emitClangAttrArgContextList() local
1412 for (const auto &S : Spellings) { in emitClangAttrArgContextList()
1441 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*Attr); in emitClangAttrIdentifierArgList() local
1443 for (const auto &S : Spellings) { in emitClangAttrIdentifierArgList()
1511 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(R); in EmitClangAttrClass() local
1516 bool ElideSpelling = (Spellings.size() <= 1) || in EmitClangAttrClass()
1517 SpellingNamesAreCommon(Spellings); in EmitClangAttrClass()
1523 OS << CreateSemanticSpellings(Spellings, SemanticToSyntacticMap); in EmitClangAttrClass()
1747 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*R); in AttrHasPragmaSpelling() local
1748 return std::find_if(Spellings.begin(), Spellings.end(), in AttrHasPragmaSpelling()
1751 }) != Spellings.end(); in AttrHasPragmaSpelling()
1969 std::vector<Record *> Spellings = Attr->getValueAsListOfDefs("Spellings"); in GenerateHasAttrSpellingStringSwitch() local
1970 for (const auto &Spelling : Spellings) { in GenerateHasAttrSpellingStringSwitch()
1997 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*Attr); in GenerateHasAttrSpellingStringSwitch() local
1998 for (const auto &S : Spellings) in GenerateHasAttrSpellingStringSwitch()
2019 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*R); in EmitClangAttrHasAttrImpl() local
2020 for (const auto &SI : Spellings) { in EmitClangAttrHasAttrImpl()
2074 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(R); in EmitClangAttrSpellingListIndex() local
2076 for (unsigned I = 0; I < Spellings.size(); ++ I) { in EmitClangAttrSpellingListIndex()
2077 OS << " if (Name == \"" << Spellings[I].name() << "\" && " in EmitClangAttrSpellingListIndex()
2079 << StringSwitch<unsigned>(Spellings[I].variety()) in EmitClangAttrSpellingListIndex()
2086 << " && Scope == \"" << Spellings[I].nameSpace() << "\")\n" in EmitClangAttrSpellingListIndex()
2607 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(Attr); in GenerateSpellingIndexToSemanticSpelling() local
2611 if (Spellings.size() <= 1 || SpellingNamesAreCommon(Spellings)) in GenerateSpellingIndexToSemanticSpelling()
2616 std::string Enum = CreateSemanticSpellings(Spellings, SemanticToSyntacticMap); in GenerateSpellingIndexToSemanticSpelling()
2631 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(Attr); in IsKnownToGCC() local
2632 for (const auto &I : Spellings) { in IsKnownToGCC()
2725 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(Attr); in EmitClangAttrParsedAttrKinds() local
2726 for (const auto &S : Spellings) { in EmitClangAttrParsedAttrKinds()
2793 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(R); in EmitClangAttrDump() local
2794 if (Spellings.size() > 1 && !SpellingNamesAreCommon(Spellings)) in EmitClangAttrDump()
2859 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*Doc.Attribute); in WriteDocumentation() local
2866 if (Spellings.size() == 1) in WriteDocumentation()
2867 Heading = Spellings.begin()->name(); in WriteDocumentation()
2870 for (auto I = Spellings.begin(), E = Spellings.end(); in WriteDocumentation()
2893 for (const auto &I : Spellings) { in WriteDocumentation()