github-actions[bot] wrote: <!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning: <details> <summary> You can test this locally with the following command: </summary> ``````````bash git-clang-format --diff cb9267f055156daabdbab87f4c1ca9064b0e7d7d 3fc95ce499d9e5d5691158fe0847afa8ec338106 --extensions cpp -- lldb/source/Target/Process.cpp lldb/test/API/functionalities/memory/find/main.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp index d96771acdc..4206fe8591 100644 --- a/lldb/source/Target/Process.cpp +++ b/lldb/source/Target/Process.cpp @@ -3365,7 +3365,8 @@ lldb::addr_t Process::FindInMemory(lldb::addr_t low, lldb::addr_t high, mem.resize_for_overwrite(max_read_size); Status error; mem.resize(ReadMemory(cur_addr, mem.data(), - std::min<size_t>(mem.size(), high - cur_addr), error)); + std::min<size_t>(mem.size(), high - cur_addr), + error)); mem_pos = cur_addr; if (size > mem.size()) { // We didn't read enough data. Skip to the next memory region. `````````` </details> https://github.com/llvm/llvm-project/pull/104193 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits