aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectFrame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectFrame.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectFrame.cpp b/lldb/source/Commands/CommandObjectFrame.cpp
index a656a99..b51bdb7 100644
--- a/lldb/source/Commands/CommandObjectFrame.cpp
+++ b/lldb/source/Commands/CommandObjectFrame.cpp
@@ -460,7 +460,7 @@ public:
protected:
llvm::StringRef GetScopeString(VariableSP var_sp) {
if (!var_sp)
- return llvm::StringRef::withNullAsEmpty(nullptr);
+ return llvm::StringRef();
switch (var_sp->GetScope()) {
case eValueTypeVariableGlobal:
@@ -477,7 +477,7 @@ protected:
break;
}
- return llvm::StringRef::withNullAsEmpty(nullptr);
+ return llvm::StringRef();
}
bool DoExecute(Args &command, CommandReturnObject &result) override {