summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBCommandReturnObject.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-12-20 21:02:55 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-12-20 21:02:55 +0000
commit3447077a2878b71e0ced355f9a92a815706a0b11 (patch)
tree9568b7fc75bb6345952fa01bc71bda11454d507e /lldb/source/API/SBCommandReturnObject.cpp
parent0a90d7c92b1fa5b7193e7b0e1e0314ab46e76b70 (diff)
downloadbcm5719-llvm-3447077a2878b71e0ced355f9a92a815706a0b11.tar.gz
bcm5719-llvm-3447077a2878b71e0ced355f9a92a815706a0b11.zip
[API] Remove redundants get() from smart pointers. NFC
Removes redundant calls to ::get() from smart pointers in the source/API directory.. llvm-svn: 349821
Diffstat (limited to 'lldb/source/API/SBCommandReturnObject.cpp')
-rw-r--r--lldb/source/API/SBCommandReturnObject.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lldb/source/API/SBCommandReturnObject.cpp b/lldb/source/API/SBCommandReturnObject.cpp
index 157f3209ecc..7bc02985a3e 100644
--- a/lldb/source/API/SBCommandReturnObject.cpp
+++ b/lldb/source/API/SBCommandReturnObject.cpp
@@ -48,9 +48,7 @@ operator=(const SBCommandReturnObject &rhs) {
return *this;
}
-bool SBCommandReturnObject::IsValid() const {
- return m_opaque_ap.get() != nullptr;
-}
+bool SBCommandReturnObject::IsValid() const { return m_opaque_ap != nullptr; }
const char *SBCommandReturnObject::GetOutput() {
Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_API));
OpenPOWER on IntegriCloud