[Lldb-commits] [lldb] 844a8dc - [lldb][ValueObject][NFC] Remove unused parameter to ReadPointedString (#77919)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Jan 12 08:12:03 PST 2024
Author: Michael Buch
Date: 2024-01-12T16:11:59Z
New Revision: 844a8dcaafb3efcac936e0d89df857f818e5a209
URL: https://github.com/llvm/llvm-project/commit/844a8dcaafb3efcac936e0d89df857f818e5a209
DIFF: https://github.com/llvm/llvm-project/commit/844a8dcaafb3efcac936e0d89df857f818e5a209.diff
LOG: [lldb][ValueObject][NFC] Remove unused parameter to ReadPointedString (#77919)
All its usages were removed in
`2206b48d6ddabad61979fa69ba09e6b6fb19b0b2`.
Added:
Modified:
lldb/include/lldb/Core/ValueObject.h
lldb/source/Core/ValueObject.cpp
Removed:
################################################################################
diff --git a/lldb/include/lldb/Core/ValueObject.h b/lldb/include/lldb/Core/ValueObject.h
index 3f8005ba696ce8..dec1c7b237ac27 100644
--- a/lldb/include/lldb/Core/ValueObject.h
+++ b/lldb/include/lldb/Core/ValueObject.h
@@ -670,8 +670,7 @@ class ValueObject {
std::pair<size_t, bool>
ReadPointedString(lldb::WritableDataBufferSP &buffer_sp, Status &error,
- uint32_t max_length = 0, bool honor_array = true,
- lldb::Format item_format = lldb::eFormatCharArray);
+ uint32_t max_length = 0, bool honor_array = true);
virtual size_t GetPointeeData(DataExtractor &data, uint32_t item_idx = 0,
uint32_t item_count = 1);
diff --git a/lldb/source/Core/ValueObject.cpp b/lldb/source/Core/ValueObject.cpp
index b2a6d9412ab40b..a5d155d3c6675f 100644
--- a/lldb/source/Core/ValueObject.cpp
+++ b/lldb/source/Core/ValueObject.cpp
@@ -814,7 +814,7 @@ static bool CopyStringDataToBufferSP(const StreamString &source,
std::pair<size_t, bool>
ValueObject::ReadPointedString(lldb::WritableDataBufferSP &buffer_sp,
Status &error, uint32_t max_length,
- bool honor_array, Format item_format) {
+ bool honor_array) {
bool was_capped = false;
StreamString s;
ExecutionContext exe_ctx(GetExecutionContextRef());
More information about the lldb-commits
mailing list