================
@@ -611,8 +651,9 @@ JSONFormat::entitySummaryFromJSON(const SummaryName &SN,
   const auto &InfoEntry = InfoIt->second;
   assert(InfoEntry.ForSummary == SN);
 
-  EntityIdConverter Converter(*this);
-  return InfoEntry.Deserialize(EntitySummaryObject, IdTable, Converter);
+  return InfoEntry.Deserialize(
+      EntitySummaryObject, IdTable,
+      [](const Object &Obj) { return entityIdFromJSONObject(Obj); });
----------------
steakhal wrote:

Could you just pass the address of this fn?  
Similar in Serialize.

https://github.com/llvm/llvm-project/pull/184713
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to