[Lldb-commits] [lldb] [lldb] Add LineTable::{upper, lower}_bound (PR #127519)

via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 18 02:28:09 PST 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 153dd19e3057169e6935027ffbc84b62b392aa35 bfe8f5c7338a24420223b794559d4c842d14d190 --extensions cpp,h -- lldb/unittests/Symbol/LineTableTest.cpp lldb/include/lldb/Symbol/LineTable.h lldb/source/Symbol/LineTable.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/unittests/Symbol/LineTableTest.cpp b/lldb/unittests/Symbol/LineTableTest.cpp
index 314fc09b73..2749d0d413 100644
--- a/lldb/unittests/Symbol/LineTableTest.cpp
+++ b/lldb/unittests/Symbol/LineTableTest.cpp
@@ -132,9 +132,7 @@ public:
   std::vector<std::unique_ptr<LineSequence>> Build() {
     return std::move(m_sequences);
   }
-  enum Terminal : bool {
-    Terminal = true;
-  };
+  enum Terminal : bool { Terminal = true; };
   void Entry(addr_t addr, bool terminal = false) {
     LineTable::AppendLineEntryToSequence(
         m_seq_up.get(), addr, /*line=*/1, /*column=*/0,

``````````

</details>


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


More information about the lldb-commits mailing list