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 aebe6c5d7f88a05a29ef6c643482ca7eaf994b19
96957acfb6847343df50a641c6de03199c924f72 --extensions cpp,h --
lldb/source/Commands/CommandObjectDisassemble.cpp
lldb/source/Commands/CommandObjectDisassemble.h
lldb/source/Symbol/SymbolContext.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/source/Commands/CommandObjectDisassemble.cpp
b/lldb/source/Commands/CommandObjectDisassemble.cpp
index d116188966..f66c67577c 100644
--- a/lldb/source/Commands/CommandObjectDisassemble.cpp
+++ b/lldb/source/Commands/CommandObjectDisassemble.cpp
@@ -250,7 +250,7 @@
CommandObjectDisassemble::CheckRangeSize(std::vector<AddressRange> ranges,
StreamString msg;
msg << "Not disassembling " << what << " because it is very large ";
- for (const AddressRange &r: ranges)
+ for (const AddressRange &r : ranges)
r.Dump(&msg, &GetTarget(), Address::DumpStyleLoadAddress,
Address::DumpStyleFileAddress);
msg << ". To disassemble specify an instruction count limit, start/stop "
``````````
</details>
https://github.com/llvm/llvm-project/pull/126505
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits