diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-02-12 03:47:39 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-02-12 03:47:39 +0000 |
commit | 70355ace3f075553043f6715390891633afc604e (patch) | |
tree | 34766a2eb6a35778deaf172f8b0017ff4ced93b2 /lldb/source/Plugins/UnwindAssembly | |
parent | 2b9a8f37a484aa7f976829c055147f20b82d39d9 (diff) | |
download | bcm5719-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/UnwindAssembly')
-rw-r--r-- | lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp b/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp index dc16e0c9123..b6b0f98ddeb 100644 --- a/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp +++ b/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp @@ -300,7 +300,7 @@ UnwindAssemblyInstEmulation::CreateInstance(const ArchSpec &arch) { EmulateInstruction::FindPlugin(arch, eInstructionTypePrologueEpilogue, NULL)); // Make sure that all prologue instructions are handled - if (inst_emulator_ap.get()) + if (inst_emulator_ap) return new UnwindAssemblyInstEmulation(arch, inst_emulator_ap.release()); return NULL; } |