[clang-tools-extra] [Clang-doc] Display enum comments and member values in html/md (PR #183085)

Paul Kirth via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 26 08:47:16 PST 2026


================
@@ -48,18 +48,25 @@ enum Color {
 // 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>Red</td>
 // HTML-INDEX-NEXT:                 <td>0</td>
+// HTML-INDEX-NEXT:                 <td> Comment 1
+// HTML-INDEX-NEXT:                 </td>
----------------
ilovepi wrote:

HTML should be fine with tight wrapping. The lines above are working, and they're all on one line.

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


More information about the cfe-commits mailing list