[Lldb-commits] [lldb] [lldb] Override Should{Select, Show} in StopReasonBreakpoint (PR #135637)

via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 14 09:03: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 HEAD~1 HEAD --extensions cpp -- lldb/source/Target/StopInfo.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/source/Target/StopInfo.cpp b/lldb/source/Target/StopInfo.cpp
index 6bdc467af..3160446ae 100644
--- a/lldb/source/Target/StopInfo.cpp
+++ b/lldb/source/Target/StopInfo.cpp
@@ -263,13 +263,9 @@ public:
     return bp_site_sp->GetSuggestedStackFrameIndex();
   }
 
-  bool ShouldShow() const override {
-    return !m_was_all_internal;
-  }
+  bool ShouldShow() const override { return !m_was_all_internal; }
 
-  bool ShouldSelect() const override {
-    return !m_was_all_internal;
-  }
+  bool ShouldSelect() const override { return !m_was_all_internal; }
 
 protected:
   bool ShouldStop(Event *event_ptr) override {

``````````

</details>


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


More information about the lldb-commits mailing list