[Lldb-commits] [lldb] [lldb][Target] Clear selected frame index after a StopInfo::PerformAction (PR #133078)

via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 26 06:34:58 PDT 2025


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 976e41302411e511ab0e99922288185b5939bf54 91110b85aab9ddf41d1b52b9fc23d68883966b93 --extensions cpp,h -- lldb/include/lldb/Target/StackFrameList.h lldb/include/lldb/Target/Thread.h lldb/source/Target/Process.cpp lldb/source/Target/StackFrameList.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/source/Target/StackFrameList.cpp b/lldb/source/Target/StackFrameList.cpp
index 3592c3c03d..5292618ac8 100644
--- a/lldb/source/Target/StackFrameList.cpp
+++ b/lldb/source/Target/StackFrameList.cpp
@@ -937,6 +937,4 @@ size_t StackFrameList::GetStatus(Stream &strm, uint32_t first_frame,
   return num_frames_displayed;
 }
 
-void StackFrameList::ClearSelectedFrameIndex() {
-  m_selected_frame_idx.reset();
-}
+void StackFrameList::ClearSelectedFrameIndex() { m_selected_frame_idx.reset(); }

``````````

</details>


https://github.com/llvm/llvm-project/pull/133078


More information about the lldb-commits mailing list