Lines Matching full:heading
2861 // Determine the heading to be used for this attribute.
2862 std::string Heading = Doc.Documentation->getValueAsString("Heading");
2863 bool CustomHeading = !Heading.empty();
2864 if (Heading.empty()) {
2867 Heading = Spellings.begin()->name();
2878 Heading = *Uniques.begin();
2882 // If the heading is still empty, it is an error.
2883 if (Heading.empty())
2885 "This attribute requires a heading to be specified");
2909 // If this name is the same as the heading, do not add it.
2910 if (Name != Heading)
2914 // Print out the heading for the attribute. If there are alternate spellings,
2915 // then display those after the heading.
2917 Heading += " (";
2920 Heading += ", ";
2921 Heading += *I;
2923 Heading += ")";
2925 OS << Heading << "\n" << std::string(Heading.length(), '-') << "\n";