This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Ignore implicit functions in performance-unnecessary-value-param
ClosedPublic

Authored by malcolm.parsons on Jan 23 2017, 5:06 AM.

Details

Summary

The performance-unnecessary-value-param check mangled inherited
constructors, as the constructors' parameters do not have useful source
locations. Fix this by ignoring implicit functions.

Fixes PR31684.

Diff Detail

Repository
rL LLVM

Event Timeline

Looks good to me. Nice touch by solving with implicit.

This revision was automatically updated to reflect the committed changes.