Skip to content
Snippets Groups Projects
Commit 618fb23f authored by Daniel Pfeifer's avatar Daniel Pfeifer
Browse files

Pass arguments that are not modified as const&.

Use clang-tidy's performance-unnecessary-value-param checker to find
value parameter declarations of expensive to copy types that are not
modified inside the function.  Ignore findings in kwsys.
After applying the fix-its, manually change `const T&` to `T const&`.
parent acd8a730
No related branches found
No related tags found
Loading
Showing
with 40 additions and 38 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment