[Lldb-commits] [lldb] [lldb] Ensure that TestMemoryCache.py reads allocated memory (PR #151635)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Jul 31 20:56:19 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/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
More information about the lldb-commits
mailing list