[PATCH] D139487: [NFC] Use const references to avoid copying objects in for-loops

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 16 09:50:43 PST 2023


MaskRay added a comment.

At least for `enumerate`, the loop variable change is unnecessary.


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

https://reviews.llvm.org/D139487



More information about the llvm-commits mailing list