[PATCH] D141788: [NFC] Use `llvm::enumerate` in llvm/unittests/Object

Sergei Barannikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 16 03:52:26 PST 2023


barannikov88 added a comment.

In D141788#4055263 <https://reviews.llvm.org/D141788#4055263>, @MaskRay wrote:

> non-reference `auto` shall work better in these cases.

Not sure why? Won't Data be copied every iteration?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141788/new/

https://reviews.llvm.org/D141788



More information about the cfe-commits mailing list