[all-commits] [llvm/llvm-project] 6953dc: [lldb][NFC] Use move instead of copy
Chris Cotter via All-commits
all-commits at lists.llvm.org
Wed Feb 1 07:52:11 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6953dc95a9761768cad3c329ebac35927df126ab
https://github.com/llvm/llvm-project/commit/6953dc95a9761768cad3c329ebac35927df126ab
Author: Chris Cotter <ccotter14 at bloomberg.net>
Date: 2023-02-01 (Wed, 01 Feb 2023)
Changed paths:
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
M lldb/source/Plugins/TraceExporter/common/TraceHTR.cpp
M lldb/source/Target/Process.cpp
Log Message:
-----------
[lldb][NFC] Use move instead of copy
Summary: For functions that accept an rvalue reference type
parameter, use move to avoid copying the parameter.
These were found when implementing CppCoreGuideline F.18 in
clang-tidy.
Committed on behalf of ccotter (Chris Cotter)
Reviewers: Michael137
Differential Revision: https://reviews.llvm.org/D142824
More information about the All-commits
mailing list