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 1a7402d3d831940fc04cc0fb5731239744ce5435 
b68ee05934778f77bf27f8b6716e1db564bd4f98 --extensions cpp,h -- 
lldb/include/lldb/Symbol/FuncUnwinders.h lldb/include/lldb/Symbol/UnwindTable.h 
lldb/source/Symbol/FuncUnwinders.cpp lldb/source/Symbol/UnwindTable.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lldb/source/Symbol/UnwindTable.cpp 
b/lldb/source/Symbol/UnwindTable.cpp
index e62ea7b571..21ecd434d7 100644
--- a/lldb/source/Symbol/UnwindTable.cpp
+++ b/lldb/source/Symbol/UnwindTable.cpp
@@ -150,7 +150,7 @@ UnwindTable::GetFuncUnwindersContainingAddress(const 
Address &addr,
     return nullptr;
 
   auto func_unwinder_sp = std::make_shared<FuncUnwinders>(*this, addr, ranges);
-  for (const AddressRange &range: ranges)
+  for (const AddressRange &range : ranges)
     m_unwinds.emplace_hint(insert_pos, range.GetBaseAddress().GetFileAddress(),
                            func_unwinder_sp);
   return func_unwinder_sp;

``````````

</details>


https://github.com/llvm/llvm-project/pull/133072
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to