From 11eb9c64a260a51b5574132973fa2240f9b54c4b Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Wed, 5 Oct 2016 20:03:37 +0000 Subject: Convert various CommandInterpreter functions to StringRef. llvm-svn: 283370 --- lldb/source/Commands/CommandObjectFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Commands/CommandObjectFrame.cpp') diff --git a/lldb/source/Commands/CommandObjectFrame.cpp b/lldb/source/Commands/CommandObjectFrame.cpp index 8688f038698..3c7b7d9d7f1 100644 --- a/lldb/source/Commands/CommandObjectFrame.cpp +++ b/lldb/source/Commands/CommandObjectFrame.cpp @@ -533,7 +533,7 @@ protected: const Format format = m_option_format.GetFormat(); options.SetFormat(format); - if (command.GetArgumentCount() > 0) { + if (!command.empty()) { VariableList regex_var_list; // If we have any args to the variable command, we will make -- cgit v1.2.3