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 origin/main HEAD --extensions cpp,c -- 
lldb/test/API/lang/c/trampoline_stepping/main.c 
lldb/source/Plugins/ABI/X86/ABIWindows_x86_64.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/lldb/test/API/lang/c/trampoline_stepping/main.c 
b/lldb/test/API/lang/c/trampoline_stepping/main.c
index cb98be00c..25f41e2ba 100644
--- a/lldb/test/API/lang/c/trampoline_stepping/main.c
+++ b/lldb/test/API/lang/c/trampoline_stepping/main.c
@@ -1,29 +1,20 @@
 void foo(void) {}
 
-__attribute__((transparent_stepping))
-void bar(void) {
-  foo();
-}
+__attribute__((transparent_stepping)) void bar(void) { foo(); }
 
-__attribute__((transparent_stepping))
-void baz(void) {
-  bar();
-}
+__attribute__((transparent_stepping)) void baz(void) { bar(); }
 
-__attribute__((nodebug))
-void nodebug(void) {}
+__attribute__((nodebug)) void nodebug(void) {}
 
-__attribute__((transparent_stepping))
-void nodebug_then_trampoline(void) {
+__attribute__((transparent_stepping)) void nodebug_then_trampoline(void) {
   nodebug();
   baz();
 }
 
-__attribute__((transparent_stepping))
-void doesnt_call_trampoline(void) {}
+__attribute__((transparent_stepping)) void doesnt_call_trampoline(void) {}
 
 void direct_trampoline_call(void) {
-  bar(); // Break here for direct 
+  bar(); // Break here for direct
   bar();
 }
 
@@ -41,7 +32,6 @@ void unused_target(void) {
   doesnt_call_trampoline(); // Break here for unused
 }
 
-
 int main(void) {
   direct_trampoline_call();
   chained_trampoline_call();
@@ -49,4 +39,3 @@ int main(void) {
   unused_target();
   return 0;
 }
-

``````````

</details>


https://github.com/llvm/llvm-project/pull/210076
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to