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
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user