• Home
  • Raw
  • Download

Lines Matching refs:Spellings

76   std::vector<Record *> Spellings = Attr.getValueAsListOfDefs("Spellings");  in GetFlattenedSpellings()  local
79 for (const auto &Spelling : Spellings) { in GetFlattenedSpellings()
1384 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(R); in writeGetSpellingFunction() local
1387 if (Spellings.empty()) { in writeGetSpellingFunction()
1397 for (unsigned I = 0; I < Spellings.size(); ++I) in writeGetSpellingFunction()
1399 " return \"" << Spellings[I].name() << "\";\n"; in writeGetSpellingFunction()
1410 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(R); in writePrettyPrintFunction() local
1415 if (Spellings.empty()) { in writePrettyPrintFunction()
1425 for (unsigned I = 0; I < Spellings.size(); ++ I) { in writePrettyPrintFunction()
1431 std::string Name = Spellings[I].name(); in writePrettyPrintFunction()
1432 std::string Variety = Spellings[I].variety(); in writePrettyPrintFunction()
1440 std::string Namespace = Spellings[I].nameSpace(); in writePrettyPrintFunction()
1457 std::string Namespace = Spellings[I].nameSpace(); in writePrettyPrintFunction()
1602 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*Accessor); in writeAttrAccessorDefinition() local
1606 for (unsigned Index = 0; Index < Spellings.size(); ++Index) { in writeAttrAccessorDefinition()
1607 OS << getSpellingListIndex(SpellingList, Spellings[Index]); in writeAttrAccessorDefinition()
1608 if (Index != Spellings.size() - 1) in writeAttrAccessorDefinition()
1617 SpellingNamesAreCommon(const std::vector<FlattenedSpelling>& Spellings) { in SpellingNamesAreCommon() argument
1618 assert(!Spellings.empty() && "An empty list of spellings was provided"); in SpellingNamesAreCommon()
1620 std::string(NormalizeNameForSpellingComparison(Spellings.front().name())); in SpellingNamesAreCommon()
1622 llvm::make_range(std::next(Spellings.begin()), Spellings.end())) { in SpellingNamesAreCommon()
1633 CreateSemanticSpellings(const std::vector<FlattenedSpelling> &Spellings, in CreateSemanticSpellings() argument
1646 assert(Spellings.size() < 15 && in CreateSemanticSpellings()
1649 for (auto I = Spellings.begin(), E = Spellings.end(); I != E; ++I, ++Idx) { in CreateSemanticSpellings()
1674 if (I != Spellings.begin()) in CreateSemanticSpellings()
1706 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*Attr); in emitClangAttrLateParsedList() local
1709 for (const auto &I : Spellings) { in emitClangAttrLateParsedList()
1720 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(Attribute); in hasGNUorCXX11Spelling() local
1721 for (const auto &I : Spellings) { in hasGNUorCXX11Spelling()
2132 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(Attr); in forEachUniqueSpelling() local
2134 for (const FlattenedSpelling &S : Spellings) { in forEachUniqueSpelling()
2330 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(R); in emitAttributes() local
2335 bool ElideSpelling = (Spellings.size() <= 1) || in emitAttributes()
2336 SpellingNamesAreCommon(Spellings); in emitAttributes()
2342 if (Spellings.size() > 1) in emitAttributes()
2343 SpellingEnum = CreateSemanticSpellings(Spellings, SemanticToSyntacticMap); in emitAttributes()
2666 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*R); in AttrHasPragmaSpelling() local
2667 return llvm::find_if(Spellings, [](const FlattenedSpelling &S) { in AttrHasPragmaSpelling()
2669 }) != Spellings.end(); in AttrHasPragmaSpelling()
3076 std::vector<Record *> Spellings = Attr->getValueAsListOfDefs("Spellings"); in GenerateHasAttrSpellingStringSwitch() local
3077 for (const auto &Spelling : Spellings) { in GenerateHasAttrSpellingStringSwitch()
3108 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*Attr); in GenerateHasAttrSpellingStringSwitch() local
3109 for (const auto &S : Spellings) in GenerateHasAttrSpellingStringSwitch()
3130 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*R); in EmitClangAttrHasAttrImpl() local
3131 for (const auto &SI : Spellings) { in EmitClangAttrHasAttrImpl()
3197 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(R); in EmitClangAttrSpellingListIndex() local
3199 for (unsigned I = 0; I < Spellings.size(); ++ I) { in EmitClangAttrSpellingListIndex()
3200 OS << " if (Name == \"" << Spellings[I].name() << "\" && " in EmitClangAttrSpellingListIndex()
3201 << "getSyntax() == AttributeCommonInfo::AS_" << Spellings[I].variety() in EmitClangAttrSpellingListIndex()
3202 << " && Scope == \"" << Spellings[I].nameSpace() << "\")\n" in EmitClangAttrSpellingListIndex()
3661 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(Attr); in GenerateSpellingIndexToSemanticSpelling() local
3665 if (Spellings.size() <= 1 || SpellingNamesAreCommon(Spellings)) in GenerateSpellingIndexToSemanticSpelling()
3670 std::string Enum = CreateSemanticSpellings(Spellings, SemanticToSyntacticMap); in GenerateSpellingIndexToSemanticSpelling()
3739 auto Spellings = GetFlattenedSpellings(Attr); in EmitClangAttrParsedAttrImpl() local
3740 if (!Spellings.empty()) { in EmitClangAttrParsedAttrImpl()
3743 for (const auto &S : Spellings) { in EmitClangAttrParsedAttrImpl()
3775 if (!Spellings.empty()) in EmitClangAttrParsedAttrImpl()
3834 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(Attr); in EmitClangAttrParsedAttrKinds() local
3835 for (const auto &S : Spellings) { in EmitClangAttrParsedAttrKinds()
3915 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(R); in EmitClangAttrTextNodeDump() local
3916 if (Spellings.size() > 1 && !SpellingNamesAreCommon(Spellings)) in EmitClangAttrTextNodeDump()
3990 std::vector<std::string> Spellings[NumSpellingKinds]; member in clang::SpellingList
3994 return Spellings[(size_t)K]; in operator []()
4022 Spellings[(size_t)Kind].push_back(Name); in add()
4060 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(Attribute); in GetAttributeHeadingAndSpellings() local
4061 if (Spellings.empty()) in GetAttributeHeadingAndSpellings()
4070 if (Spellings.size() == 1) in GetAttributeHeadingAndSpellings()
4071 Heading = Spellings.begin()->name(); in GetAttributeHeadingAndSpellings()
4074 for (auto I = Spellings.begin(), E = Spellings.end(); in GetAttributeHeadingAndSpellings()
4093 for (const auto &I : Spellings) in GetAttributeHeadingAndSpellings()