commit | 82eed71a116f4c8c98059817621ea2daef45c005 | [log] [tgz] |
---|---|---|
author | Haojian Wu <[email protected]> | Wed Mar 23 09:33:07 2016 +0000 |
committer | Haojian Wu <[email protected]> | Wed Mar 23 09:33:07 2016 +0000 |
tree | 157d38b30742f995b3683bb886924553bd4fdc08 | |
parent | 6e4459e075824aee9a6a7b3786e6ad561271e9a7 [diff] |
Add check for unneeded copies of locals Summary: Extends the UnnecessaryCopyInitialization to detect copies of local variables and parameters that are unneeded. Patch by Matt Kulukundis! Reviewers: alexfh, hokein Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D18149 git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@264146 91177308-0d34-0410-b5e6-96231b3b80d8