From c2750807ba2a419425ee90dadda09ad5121517fe Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Sat, 12 Oct 2024 13:36:33 -0700 Subject: [lldb] Rename CommandReturnObject::Get.*Data -> Get.*String (#112062) In a later commit, I want to add a method to access diagnostics as actual structured data, which will make these function names rather confusing. --- lldb/source/Commands/CommandObjectCommands.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lldb/source/Commands/CommandObjectCommands.cpp') diff --git a/lldb/source/Commands/CommandObjectCommands.cpp b/lldb/source/Commands/CommandObjectCommands.cpp index 845b89a..f069b2f 100644 --- a/lldb/source/Commands/CommandObjectCommands.cpp +++ b/lldb/source/Commands/CommandObjectCommands.cpp @@ -1099,7 +1099,7 @@ protected: } else { // Don't change the status if the command already set it... if (result.GetStatus() == eReturnStatusInvalid) { - if (result.GetOutputData().empty()) + if (result.GetOutputString().empty()) result.SetStatus(eReturnStatusSuccessFinishNoResult); else result.SetStatus(eReturnStatusSuccessFinishResult); @@ -1205,7 +1205,7 @@ protected: } else { // Don't change the status if the command already set it... if (result.GetStatus() == eReturnStatusInvalid) { - if (result.GetOutputData().empty()) + if (result.GetOutputString().empty()) result.SetStatus(eReturnStatusSuccessFinishNoResult); else result.SetStatus(eReturnStatusSuccessFinishResult); @@ -2137,7 +2137,7 @@ protected: } else { // Don't change the status if the command already set it... if (result.GetStatus() == eReturnStatusInvalid) { - if (result.GetOutputData().empty()) + if (result.GetOutputString().empty()) result.SetStatus(eReturnStatusSuccessFinishNoResult); else result.SetStatus(eReturnStatusSuccessFinishResult); -- cgit v1.1