[PATCH] D137205: [clang-tidy] Add performance-unnecessary-copy-on-last-use check

Fabian Keßler via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 2 12:20:42 PDT 2022


Febbe marked 4 inline comments as done.
Febbe added a comment.

I applied the rest of your feedback. 
There are other usages of `auto` like `auto FoundUsage` which is a Usage for example. ~Shall I also replace those obvious cases?~

- I just checked the guidelines. Obvious cases can be auto.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137205



More information about the cfe-commits mailing list