[PATCH] D50447: [clang-tidy] Omit cases where loop variable is not used in loop body in performance-for-range-copy.

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 10 02:16:53 PDT 2018


JonasToth added a comment.

Do you think it is a bad idea? If the variable is not used it is ok to
ignore it in this particular circumstance. Other warnings/check should
deal with such a situation IMHO.

Am 10.08.2018 um 10:29 schrieb Roman Lebedev via Phabricator:

> lebedev.ri added a comment.
> 
> It seems this ended up silently being a catch-all, with no option to control this behavior, and i don't see any comments discussing this..
> 
> Repository:
> 
>   rL LLVM
> 
> https://reviews.llvm.org/D50447


Repository:
  rL LLVM

https://reviews.llvm.org/D50447





More information about the cfe-commits mailing list