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

Erick Velez via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 2 16:48:30 PST 2026


================
@@ -52,19 +54,25 @@ enum Color {
 // HTML-INDEX-NEXT:             <tr>
 // HTML-INDEX-NEXT:                 <td>Red</td>
 // HTML-INDEX-NEXT:                 <td>0</td>
-// HTML-INDEX-NEXT:                 <td> Comment 1
+// HTML-INDEX-NEXT:                 <td><div class="nested-delimiter-container">
+// HTML-INDEX-NEXT:                       <p> Comment 1</p>
+// HTML-INDEX-NEXT:                     </div>
----------------
evelez7 wrote:

The same effect can be achieved by having grouped comments in a single `<p>` tag. The pearl comment test is a good one.

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


More information about the cfe-commits mailing list