[clang] Add support for referencable labels for attribute documentation (PR #118428)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 3 10:22:55 PST 2024
================
@@ -5178,6 +5178,9 @@ GetAttributeHeadingAndSpellings(const Record &Documentation,
static void WriteDocumentation(const RecordKeeper &Records,
const DocumentationData &Doc, raw_ostream &OS) {
+ if (const StringRef label = Doc.Documentation->getValueAsString("Label");
----------------
AaronBallman wrote:
Also: `label` -> `Label` per our usual naming rules.
https://github.com/llvm/llvm-project/pull/118428
More information about the cfe-commits
mailing list