File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
lldb/source/Plugins/ScriptInterpreter/Python Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ template <typename T> T Take(PyObject *obj) {
130
130
assert (!PyErr_Occurred ());
131
131
T thing (PyRefType::Owned, obj);
132
132
assert (thing.IsValid ());
133
- return std::move ( thing) ;
133
+ return thing;
134
134
}
135
135
136
136
// Retain a reference you have borrowed, and turn it into
@@ -148,7 +148,7 @@ template <typename T> T Retain(PyObject *obj) {
148
148
assert (!PyErr_Occurred ());
149
149
T thing (PyRefType::Borrowed, obj);
150
150
assert (thing.IsValid ());
151
- return std::move ( thing) ;
151
+ return thing;
152
152
}
153
153
154
154
// This class can be used like a utility function to convert from
Original file line number Diff line number Diff line change @@ -1190,6 +1190,7 @@ bool ScriptInterpreterPythonImpl::ExecuteOneLineWithReturn(
1190
1190
return true ;
1191
1191
}
1192
1192
}
1193
+ llvm_unreachable (" Fully covered switch!" );
1193
1194
}
1194
1195
1195
1196
Status ScriptInterpreterPythonImpl::ExecuteMultipleLines (
You can’t perform that action at this time.
0 commit comments