summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/Args.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-09-21 22:33:30 +0000
committerZachary Turner <zturner@google.com>2016-09-21 22:33:30 +0000
commit4037780485c9141515cd12df0fc69dba7a22ea9b (patch)
tree7f81c9890b72987c3639af0d6708368e5bde4ba3 /lldb/source/Interpreter/Args.cpp
parent2aba5cfa57a5ef87ec4e21fd531b2a96e6c55ecb (diff)
downloadbcm5719-llvm-4037780485c9141515cd12df0fc69dba7a22ea9b.tar.gz
bcm5719-llvm-4037780485c9141515cd12df0fc69dba7a22ea9b.zip
Fix an incorrect nullptr conversion.
llvm-svn: 282117
Diffstat (limited to 'lldb/source/Interpreter/Args.cpp')
-rw-r--r--lldb/source/Interpreter/Args.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/Args.cpp b/lldb/source/Interpreter/Args.cpp
index 3c2e3558c69..6b6fe4649d8 100644
--- a/lldb/source/Interpreter/Args.cpp
+++ b/lldb/source/Interpreter/Args.cpp
@@ -419,7 +419,7 @@ llvm::StringRef Args::ReplaceArgumentAtIndex(size_t idx,
m_args_quote_char[idx] = quote_char;
return GetArgumentAtIndex(idx);
}
- return nullptr;
+ return llvm::StringRef();
}
void Args::DeleteArgumentAtIndex(size_t idx) {
OpenPOWER on IntegriCloud