diff options
author | Pavel Labath <labath@google.com> | 2016-08-25 08:22:14 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2016-08-25 08:22:14 +0000 |
commit | c1566308aa7596efad6d3ddc852eb3b443748309 (patch) | |
tree | 4f9c2028247f2c9f7ca3c7b19ab13c5b1e999a56 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | |
parent | 958fce3192ac088dae3371bdedb43ffd6d4a5402 (diff) | |
download | bcm5719-llvm-c1566308aa7596efad6d3ddc852eb3b443748309.tar.gz bcm5719-llvm-c1566308aa7596efad6d3ddc852eb3b443748309.zip |
Fix warnings preventing copy elision.
Summary:
Moving a temporary object prevents copy elision, which is exactly
what clang points out by warning about this pattern.
The fix is simply removal of std::move applied to temporary objects.
Reviewers: clayborg
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D23825
Author: Taras Tsugrii <ttsugrii@fb.com>
llvm-svn: 279724
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
0 files changed, 0 insertions, 0 deletions