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

Paul Kirth via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 3 09:59:26 PST 2026


================
@@ -152,27 +186,44 @@ enum Size : uint8_t {
 // HTML-INDEX-NEXT:             <tr>
 // HTML-INDEX-NEXT:                 <th>Name</th>
 // HTML-INDEX-NEXT:                 <th>Value</th>
+// HTML-INDEX-NEXT:                 <th>Comments</th>
 // HTML-INDEX-NEXT:             </tr>
 // HTML-INDEX-NEXT:             <tr>
 // HTML-INDEX-NEXT:                 <td>Small</td>
 // HTML-INDEX-NEXT:                 <td>0</td>
+// HTML-INDEX-NEXT:                 <td><div class="nested-delimiter-container">
----------------
ilovepi wrote:

Structurally I agree. I did like the extra space for the next paragraph though. In the inspector, I tried replacing the last sentece with Lorum Ipsum. w/o paragraph tags, its terrible. with them, its OK. The paragraphs run into one another, so its not the most legible, but there is still some separation. Having vertical space would be really helpful. 

<img width="825" height="913" alt="image" src="https://github.com/user-attachments/assets/f3145115-1d20-4a41-85d8-4d6ede290fbb" />


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


More information about the cfe-commits mailing list