diff options
author | Adrian Prantl <aprantl@apple.com> | 2024-10-12 13:36:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-12 13:36:33 -0700 |
commit | c2750807ba2a419425ee90dadda09ad5121517fe (patch) | |
tree | 2723fed1f14e3a7111e7dc4b25728192b8fe5220 /lldb/source/Commands/CommandObjectCommands.cpp | |
parent | e866e6b8bbae8dc511706e97906825f9e153d68c (diff) | |
download | llvm-c2750807ba2a419425ee90dadda09ad5121517fe.zip llvm-c2750807ba2a419425ee90dadda09ad5121517fe.tar.gz llvm-c2750807ba2a419425ee90dadda09ad5121517fe.tar.bz2 |
[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.
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectCommands.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); |