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/test/API/functionalities/memory/cache/main.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/test/API/functionalities/memory/cache/main.cpp 
b/lldb/test/API/functionalities/memory/cache/main.cpp
index a539e48c2..5d2683f7a 100644
--- a/lldb/test/API/functionalities/memory/cache/main.cpp
+++ b/lldb/test/API/functionalities/memory/cache/main.cpp
@@ -1,11 +1,9 @@
-int test()
-{
-    int my_ints[] = {0x42};
-    return 0; // Set break point at this line.
+int test() {
+  int my_ints[] = {0x42};
+  return 0; // Set break point at this line.
 }
 
-int main ()
-{
-    int dummy[100];
-    return test();
+int main() {
+  int dummy[100];
+  return test();
 }

``````````

</details>


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

Reply via email to