[PATCH] D78223: [clang-tidy] performance-range-for-copy only for copy.

Piotr Zegar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 23 08:26:10 PDT 2023


PiotrZSL added inline comments.


================
Comment at: clang-tools-extra/test/clang-tidy/checkers/performance-for-range-copy.cpp:66-67
   }
+  for (const S S2 : C) {
+  }
 }
----------------
Those tests already exist and pass in current version.
Most probably this change is obsolete.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78223



More information about the cfe-commits mailing list