mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-30 15:21:38 +00:00
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:
1 parent
2b9a8f37a4
commit
70355ace3f
52 files changed
+187
-191
No files matched your search
@@ -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