================
@@ -367,9 +371,12 @@ static void 
serializeDescription(llvm::ArrayRef<CommentInfo> Description, json::
       if (TextCommentsArray.kind() == json::Value::Null ||
           TextCommentsArray.getAsArray()->empty())
         continue;
-      insertComment(Obj, TextCommentsArray, "ParagraphComments");
+      insertComment(DescriptionObj, TextCommentsArray, "ParagraphComments");
     }
   }
+  Obj["Description"] = std::move(DescriptionObj);
+  if (!Key.empty())
+    Obj[Key] = true;
----------------
evelez7 wrote:

"HasMembers" is in use for class fields, but it should be fine because the enum 
partial is called in the class template.

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