[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 10 08:50:09 PDT 2026


================
@@ -565,6 +570,13 @@ static void serializeInfo(const EnumValueInfo &I, Object &Obj) {
     Obj["ValueExpr"] = I.ValueExpr;
   else
     Obj["Value"] = I.Value;
+
+  if (I.Description.empty())
+    return;
+
+  Object Description = Object();
----------------
ilovepi wrote:

shouldn't this be part of serializeDescription?

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


More information about the cfe-commits mailing list