================ @@ -232,27 +233,86 @@ class RegionBindingsRef : public llvm::ImmutableMapRef<const MemRegion *, void printJson(raw_ostream &Out, const char *NL = "\n", unsigned int Space = 0, bool IsDot = false) const { - for (iterator I = begin(), E = end(); I != E; ++I) { - // TODO: We might need a .printJson for I.getKey() as well. ---------------- steakhal wrote:
I dropped this TODO. It's not relevant. The key is always a base memory region, which obeys the json rules. https://github.com/llvm/llvm-project/pull/115615 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits