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

Samrudh Nelli via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 6 10:11:47 PST 2026


================
@@ -13,11 +13,11 @@
 </div>
 {{/BriefComments}}
 {{#ParagraphComments}}
-<div class="nested-delimiter-container">
+<p class="nested-delimiter-container">
     {{#.}}
-    <p>{{TextComment}}</p>
+    {{TextComment}}<br>
     {{/.}}
-</div>
+</p>
----------------
SamrudhNelli wrote:

To obtain the above expected result, I decided to skip calling `comment-template.mustache` and handled the custom formatting in the `enum-template.mustache` itself.

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


More information about the cfe-commits mailing list