def DocCatFunction : DocumentationCategory<"Functions">;
def DocCatVariable : DocumentationCategory<"Variables">;
def DocCatType : DocumentationCategory<"Types">;
+def DocCatStmt : DocumentationCategory<"Statements">;
// Attributes listed under the Undocumented category do not generate any public
// documentation. Ideally, this category should be used for internal-only
// attributes which contain no spellings.
Function,
Variable,
Type,
+ Statement,
Undocumented
};
OS << "Type Attributes\n";
OS << "===============\n";
break;
+ case DocumentationData::Statement:
+ OS << "Statement Attributes\n";
+ OS << "====================\n";
+ break;
}
OS << "\n";
}
.Case("Functions", DocumentationData::Function)
.Case("Variables", DocumentationData::Variable)
.Case("Types", DocumentationData::Type)
+ .Case("Statements", DocumentationData::Statement)
.Case("Undocumented", DocumentationData::Undocumented);
// If the category is "undocumented", then there cannot be any other