commit | 70355ace3f075553043f6715390891633afc604e | [log] [tgz] |
---|---|---|
author | Jonas Devlieghere <jonas@devlieghere.com> | Tue Feb 12 03:47:39 2019 +0000 |
committer | Jonas Devlieghere <jonas@devlieghere.com> | Tue Feb 12 03:47:39 2019 +0000 |
tree | 34766a2eb6a35778deaf172f8b0017ff4ced93b2 | |
parent | 2b9a8f37a484aa7f976829c055147f20b82d39d9 [diff] [blame] |
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
diff --git a/lldb/source/Expression/IRExecutionUnit.cpp b/lldb/source/Expression/IRExecutionUnit.cpp index 4420979..19b3d07 100644 --- a/lldb/source/Expression/IRExecutionUnit.cpp +++ b/lldb/source/Expression/IRExecutionUnit.cpp
@@ -294,7 +294,7 @@ m_strip_underscore = (m_execution_engine_ap->getDataLayout().getGlobalPrefix() == '_'); - if (!m_execution_engine_ap.get()) { + if (!m_execution_engine_ap) { error.SetErrorToGenericError(); error.SetErrorStringWithFormat("Couldn't JIT the function: %s", error_string.c_str());