[PATCH] D18191: [clang-tidy] Add check for function parameters that are const& to builtin types
Steve Downey via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 4 08:28:45 PDT 2016
sdowney added a comment.
At least in my codebase, skipping templates is too strong. I run across ones where the const& parameter is not one controlled by a template. It's often a size_t.
I could easily see not fixing the typedef'd refs, also, although I think warning on them is still useful. Particularly if they can then be added to a list to be changed. E.g. size_t.
More information about the cfe-commits