Skip to content

Commit

Permalink
[lldb][ValueObject][NFC] Remove unused parameter to ReadPointedString (
Browse files Browse the repository at this point in the history
…#77919)

All its usages were removed in
`2206b48d6ddabad61979fa69ba09e6b6fb19b0b2`.
  • Loading branch information
Michael137 committed Jan 12, 2024
1 parent 6f55c13 commit 844a8dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions lldb/include/lldb/Core/ValueObject.h
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion lldb/source/Core/ValueObject.cpp
Expand Up @@ -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());
Expand Down

0 comments on commit 844a8dc

Please sign in to comment.