Lines Matching refs:Spellings
74 std::vector<Record *> Spellings = Attr.getValueAsListOfDefs("Spellings"); in GetFlattenedSpellings() local
77 for (const auto &Spelling : Spellings) { in GetFlattenedSpellings()
1250 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(R); in writeGetSpellingFunction() local
1253 if (Spellings.empty()) { in writeGetSpellingFunction()
1263 for (unsigned I = 0; I < Spellings.size(); ++I) in writeGetSpellingFunction()
1265 " return \"" << Spellings[I].name() << "\";\n"; in writeGetSpellingFunction()
1276 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(R); in writePrettyPrintFunction() local
1281 if (Spellings.empty()) { in writePrettyPrintFunction()
1292 for (unsigned I = 0; I < Spellings.size(); ++ I) { in writePrettyPrintFunction()
1298 std::string Name = Spellings[I].name(); in writePrettyPrintFunction()
1299 std::string Variety = Spellings[I].variety(); in writePrettyPrintFunction()
1307 std::string Namespace = Spellings[I].nameSpace(); in writePrettyPrintFunction()
1321 std::string Namespace = Spellings[I].nameSpace(); in writePrettyPrintFunction()
1413 std::vector<FlattenedSpelling> Spellings = in writeAttrAccessorDefinition() local
1420 for (unsigned Index = 0; Index < Spellings.size(); ++Index) { in writeAttrAccessorDefinition()
1421 OS << getSpellingListIndex(SpellingList, Spellings[Index]); in writeAttrAccessorDefinition()
1422 if (Index != Spellings.size() -1) in writeAttrAccessorDefinition()
1431 SpellingNamesAreCommon(const std::vector<FlattenedSpelling>& Spellings) { in SpellingNamesAreCommon() argument
1432 assert(!Spellings.empty() && "An empty list of spellings was provided"); in SpellingNamesAreCommon()
1434 Spellings.front().name()); in SpellingNamesAreCommon()
1436 llvm::make_range(std::next(Spellings.begin()), Spellings.end())) { in SpellingNamesAreCommon()
1446 CreateSemanticSpellings(const std::vector<FlattenedSpelling> &Spellings, in CreateSemanticSpellings() argument
1455 for (auto I = Spellings.begin(), E = Spellings.end(); I != E; ++I, ++Idx) { in CreateSemanticSpellings()
1480 if (I != Spellings.begin()) in CreateSemanticSpellings()
1511 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*Attr); in emitClangAttrLateParsedList() local
1514 for (const auto &I : Spellings) { in emitClangAttrLateParsedList()
1539 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*Attr); in emitClangAttrTypeArgList() local
1541 for (const auto &S : Spellings) { in emitClangAttrTypeArgList()
1561 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(Attr); in emitClangAttrArgContextList() local
1563 for (const auto &S : Spellings) { in emitClangAttrArgContextList()
1592 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*Attr); in emitClangAttrIdentifierArgList() local
1594 for (const auto &S : Spellings) { in emitClangAttrIdentifierArgList()
1662 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(R); in EmitClangAttrClass() local
1667 bool ElideSpelling = (Spellings.size() <= 1) || in EmitClangAttrClass()
1668 SpellingNamesAreCommon(Spellings); in EmitClangAttrClass()
1674 OS << CreateSemanticSpellings(Spellings, SemanticToSyntacticMap); in EmitClangAttrClass()
1884 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*R); in AttrHasPragmaSpelling() local
1885 return std::find_if(Spellings.begin(), Spellings.end(), in AttrHasPragmaSpelling()
1888 }) != Spellings.end(); in AttrHasPragmaSpelling()
2254 std::vector<Record *> Spellings = Attr->getValueAsListOfDefs("Spellings"); in GenerateHasAttrSpellingStringSwitch() local
2255 for (const auto &Spelling : Spellings) { in GenerateHasAttrSpellingStringSwitch()
2282 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*Attr); in GenerateHasAttrSpellingStringSwitch() local
2283 for (const auto &S : Spellings) in GenerateHasAttrSpellingStringSwitch()
2304 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*R); in EmitClangAttrHasAttrImpl() local
2305 for (const auto &SI : Spellings) { in EmitClangAttrHasAttrImpl()
2355 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(R); in EmitClangAttrSpellingListIndex() local
2357 for (unsigned I = 0; I < Spellings.size(); ++ I) { in EmitClangAttrSpellingListIndex()
2358 OS << " if (Name == \"" << Spellings[I].name() << "\" && " in EmitClangAttrSpellingListIndex()
2360 << StringSwitch<unsigned>(Spellings[I].variety()) in EmitClangAttrSpellingListIndex()
2367 << " && Scope == \"" << Spellings[I].nameSpace() << "\")\n" in EmitClangAttrSpellingListIndex()
2885 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(Attr); in GenerateSpellingIndexToSemanticSpelling() local
2889 if (Spellings.size() <= 1 || SpellingNamesAreCommon(Spellings)) in GenerateSpellingIndexToSemanticSpelling()
2894 std::string Enum = CreateSemanticSpellings(Spellings, SemanticToSyntacticMap); in GenerateSpellingIndexToSemanticSpelling()
2909 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(Attr); in IsKnownToGCC() local
2910 for (const auto &I : Spellings) { in IsKnownToGCC()
3004 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(Attr); in EmitClangAttrParsedAttrKinds() local
3005 for (const auto &S : Spellings) { in EmitClangAttrParsedAttrKinds()
3069 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(R); in EmitClangAttrDump() local
3070 if (Spellings.size() > 1 && !SpellingNamesAreCommon(Spellings)) in EmitClangAttrDump()
3135 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*Doc.Attribute); in WriteDocumentation() local
3142 if (Spellings.size() == 1) in WriteDocumentation()
3143 Heading = Spellings.begin()->name(); in WriteDocumentation()
3146 for (auto I = Spellings.begin(), E = Spellings.end(); in WriteDocumentation()
3169 for (const auto &I : Spellings) { in WriteDocumentation()