diff options
author | Angel Garcia Gomez <angelgarcia@google.com> | 2015-09-08 09:01:21 +0000 |
---|---|---|
committer | Angel Garcia Gomez <angelgarcia@google.com> | 2015-09-08 09:01:21 +0000 |
commit | d930ef76eaca107e80baa7edda864cf2eb075a24 (patch) | |
tree | 564d00004387af71db126446bfad608bd8c108ee /llvm/lib | |
parent | f1044c044a520e5c796fd03cea3a8b38e645a167 (diff) | |
download | bcm5719-llvm-d930ef76eaca107e80baa7edda864cf2eb075a24.tar.gz bcm5719-llvm-d930ef76eaca107e80baa7edda864cf2eb075a24.zip |
Avoid using rvalue references with trivially copyable types.
Summary:
When the dereference operator returns a value that is trivially
copyable (like a pointer), copy it. After this change, modernize-loop-convert
check can be applied to the whole llvm source code without breaking any build
or test.
Reviewers: alexfh, klimek
Subscribers: alexfh, cfe-commits
Differential Revision: http://reviews.llvm.org/D12675
llvm-svn: 246989
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions