diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2018-12-20 21:02:55 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2018-12-20 21:02:55 +0000 |
commit | 3447077a2878b71e0ced355f9a92a815706a0b11 (patch) | |
tree | 9568b7fc75bb6345952fa01bc71bda11454d507e /lldb/source/API/SBFileSpec.cpp | |
parent | 0a90d7c92b1fa5b7193e7b0e1e0314ab46e76b70 (diff) | |
download | bcm5719-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/SBFileSpec.cpp')
-rw-r--r-- | lldb/source/API/SBFileSpec.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lldb/source/API/SBFileSpec.cpp b/lldb/source/API/SBFileSpec.cpp index 9fedeecaf7c..f136409d0b6 100644 --- a/lldb/source/API/SBFileSpec.cpp +++ b/lldb/source/API/SBFileSpec.cpp @@ -148,12 +148,10 @@ const lldb_private::FileSpec *SBFileSpec::get() const { } const lldb_private::FileSpec &SBFileSpec::operator*() const { - return *m_opaque_ap.get(); + return *m_opaque_ap; } -const lldb_private::FileSpec &SBFileSpec::ref() const { - return *m_opaque_ap.get(); -} +const lldb_private::FileSpec &SBFileSpec::ref() const { return *m_opaque_ap; } void SBFileSpec::SetFileSpec(const lldb_private::FileSpec &fs) { *m_opaque_ap = fs; |