[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
Wed Sep 27 13:39:07 PDT 2023


MaskRay added a comment.

This kind of blindly applying `clang-tidy -checks='-*,performance-for-range-copy' --fix` changes is easy for the contributor but is time consuming for reviewers.
Anyway, I have applied appropriated fixes to places where `const auto &` is not the best.


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

https://reviews.llvm.org/D139487



More information about the llvm-commits mailing list