================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to