• Daniel Pfeifer's avatar
    Pass arguments that are not modified as const&. · 618fb23f
    Daniel Pfeifer authored
    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&`.
    618fb23f
cmSourceGroup.cxx 4.24 KB