mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 15:14:31 +00:00
[API] Remove redundants get() from smart pointers. NFC
Removes redundant calls to ::get() from smart pointers in the source/API directory.. llvm-svn: 349821
This commit is contained in:
1 parent
0a90d7c92b
commit
3447077a28
21 files changed
+97
-104
No files matched your search
@@ -87,9 +87,7 @@ operator=(const SBVariablesOptions &options) {
|
||||
|
||||
SBVariablesOptions::~SBVariablesOptions() = default;
|
||||
|
||||
bool SBVariablesOptions::IsValid() const {
|
||||
return m_opaque_ap.get() != nullptr;
|
||||
}
|
||||
bool SBVariablesOptions::IsValid() const { return m_opaque_ap != nullptr; }
|
||||
|
||||
bool SBVariablesOptions::GetIncludeArguments() const {
|
||||
return m_opaque_ap->GetIncludeArguments();
|
||||
|
||||
Reference in new issue
Block a user