[clang-tools-extra] [Clang-doc] Display enum comments in HTML (PR #183085)

Erick Velez via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 10 10:27:04 PDT 2026


================
@@ -26,6 +29,32 @@
                 {{^Value}}
                 <td>{{ValueExpr}}</td>
                 {{/Value}}
+                {{#HasComments}}
+                <td>{{#HasMemberComment}}
+                    {{#Description}}
+                        {{#BriefComments}}
+                            {{#.}}
+                            <p class="paragraph-container">{{TextComment}}</p>
+                            {{/.}}
+                        {{/BriefComments}}
+                        {{#ParagraphComments}}
+                        <p class="paragraph-container">
+                            {{#.}}
+                            {{TextComment}}<br>
+                            {{/.}}
+                        </p>
+                        {{/ParagraphComments}}
+                        {{#ParagraphComment}}
----------------
evelez7 wrote:

This tag doesn't do anything or at least doesn't affect any of the tests. There isn't a "ParagraphComment" key. Looks like a typo or something leftover?

https://github.com/llvm/llvm-project/pull/183085


More information about the cfe-commits mailing list