[Lldb-commits] [lldb] [lldb] Retcon SBValue::GetChildAtIndex(synthetic=true) (PR #140065)

via lldb-commits lldb-commits at lists.llvm.org
Thu May 15 07:25:35 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 h,cpp -- lldb/include/lldb/API/SBValue.h lldb/source/API/SBValue.cpp lldb/test/API/python_api/sbvalue_synthetic/main.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/test/API/python_api/sbvalue_synthetic/main.cpp b/lldb/test/API/python_api/sbvalue_synthetic/main.cpp
index 5ec272b7b..d9b65f017 100644
--- a/lldb/test/API/python_api/sbvalue_synthetic/main.cpp
+++ b/lldb/test/API/python_api/sbvalue_synthetic/main.cpp
@@ -6,13 +6,16 @@ struct HasFoo {
   Foo f;
 };
 
-struct Point { int x; int y; };
+struct Point {
+  int x;
+  int y;
+};
 
 int main() {
   Foo foo;
   HasFoo has_foo;
-  Point point_arr[] = {{1,2},{3,4},{5,6}};
-  int int_arr[] = {1,2,3,4,5,6};
+  Point point_arr[] = {{1, 2}, {3, 4}, {5, 6}};
+  int int_arr[] = {1, 2, 3, 4, 5, 6};
   Point *point_ptr = point_arr;
   int *int_ptr = int_arr;
   return 0; // break here

``````````

</details>


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


More information about the lldb-commits mailing list