================ @@ -583,7 +599,15 @@ static void serializeInfo(const EnumInfo &I, json::Object &Obj, } if (!I.Members.empty()) - serializeArray(I.Members, Obj, "Members", SerializeInfoLambda); ---------------- SamrudhNelli wrote:
> Oh, I see. But why does this need to be in a lambda? Since, the UpdateJson() lambda is called after adding the comments into the enum members, this serves the purpose correctly. Since we already support lambda for wrapping, I felt it would be better to use lambda whenever we have to update the Json object. https://github.com/llvm/llvm-project/pull/183085 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
