We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 296b537 commit 4303f60Copy full SHA for 4303f60
lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
@@ -413,9 +413,9 @@ Expected<llvm::StringRef> PythonString::AsUTF8() const {
413
#if defined(Py_LIMITED_API) && (Py_LIMITED_API < 0x030a0000)
414
PyObject *py_bytes = PyUnicode_AsUTF8String(m_py_obj);
415
if (!py_bytes)
416
- return exception();
+ return exception();
417
auto release_py_str =
418
- llvm::make_scope_exit([py_bytes] { Py_DECREF(py_bytes); });
+ llvm::make_scope_exit([py_bytes] { Py_DECREF(py_bytes); });
419
Py_ssize_t size = PyBytes_Size(py_bytes);
420
const char *str = PyBytes_AsString(py_bytes);
421
0 commit comments