summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-02-12 03:47:39 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-02-12 03:47:39 +0000
commit70355ace3f075553043f6715390891633afc604e (patch)
tree34766a2eb6a35778deaf172f8b0017ff4ced93b2 /lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
parent2b9a8f37a484aa7f976829c055147f20b82d39d9 (diff)
downloadbcm5719-llvm-70355ace3f075553043f6715390891633afc604e.tar.gz
bcm5719-llvm-70355ace3f075553043f6715390891633afc604e.zip
Remove redundant ::get() for smart pointer. (NFC)
This commit removes redundant calls to smart pointer’s ::get() method. https://clang.llvm.org/extra/clang-tidy/checks/readability-redundant-smartptr-get.html llvm-svn: 353795
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp')
-rw-r--r--lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
index 32cee742e48..dd5f4339fc9 100644
--- a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
+++ b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
@@ -116,7 +116,7 @@ OperatingSystemPython::OperatingSystemPython(lldb_private::Process *process,
OperatingSystemPython::~OperatingSystemPython() {}
DynamicRegisterInfo *OperatingSystemPython::GetDynamicRegisterInfo() {
- if (m_register_info_ap.get() == NULL) {
+ if (m_register_info_ap == NULL) {
if (!m_interpreter || !m_python_object_sp)
return NULL;
Log *log(lldb_private::GetLogIfAllCategoriesSet(LIBLLDB_LOG_OS));
OpenPOWER on IntegriCloud