This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Fix check for trivially copyable types in modernize-pass-by-value
ClosedPublic

Authored by malcolm.parsons on Jan 12 2017, 9:33 AM.

Details

Summary

rL270567 excluded trivially copyable types from being moved by
modernize-pass-by-value, but it didn't exclude references to them.
Change types used in the tests to not be trivially copyable.

Diff Detail

Repository
rL LLVM

Event Timeline

malcolm.parsons retitled this revision from to [clang-tidy] Fix check for trivially copyable types in modernize-pass-by-value.
malcolm.parsons updated this object.
malcolm.parsons added a subscriber: cfe-commits.
madsravn edited edge metadata.Jan 12 2017, 9:54 AM

Looks good to me.

This revision was automatically updated to reflect the committed changes.