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 c -- 
lldb/test/API/commands/expression/int128/main.c 
lldb/test/API/commands/expression/urem-sign/main.c --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/commands/expression/int128/main.c 
b/lldb/test/API/commands/expression/int128/main.c
index 4d5a041ad..bb592c8fc 100644
--- a/lldb/test/API/commands/expression/int128/main.c
+++ b/lldb/test/API/commands/expression/int128/main.c
@@ -1,8 +1,7 @@
-int main(void)
-{
-    __int128_t n = 1;
-    n = n + n;
-    return n; //%self.expect("expression n", substrs=['(__int128_t) $0 = 2'])
-              //%self.expect("expression n + 6", substrs=['(__int128_t) $1 = 
8'])
-              //%self.expect("expression n + n", substrs=['(__int128_t) $2 = 
4'])
+int main(void) {
+  __int128_t n = 1;
+  n = n + n;
+  return n; //%self.expect("expression n", substrs=['(__int128_t) $0 = 2'])
+            //%self.expect("expression n + 6", substrs=['(__int128_t) $1 = 8'])
+            //%self.expect("expression n + n", substrs=['(__int128_t) $2 = 4'])
 }
diff --git a/lldb/test/API/commands/expression/urem-sign/main.c 
b/lldb/test/API/commands/expression/urem-sign/main.c
index 69f5ffc6a..2c243f077 100644
--- a/lldb/test/API/commands/expression/urem-sign/main.c
+++ b/lldb/test/API/commands/expression/urem-sign/main.c
@@ -5,15 +5,14 @@ struct S0 {
   signed f2;
 };
 static int g_463 = 0x1561983AL;
-void func_1(void)
-{
+void func_1(void) {
   struct S0 l_19;
   l_19.f2 = 419;
   uint32_t l_4037 = 4294967295UL;
-  l_19.f2 = g_463; //%self.expect("expr ((l_4037 % (-(g_463))) | l_19.f2)", 
substrs=['(uint32_t) $0 = 358717883'])
+  l_19.f2 = g_463; //%self.expect("expr ((l_4037 % (-(g_463))) | l_19.f2)",
+                   //substrs=['(uint32_t) $0 = 358717883'])
 }
-int main()
-{
+int main() {
   func_1();
   return 0;
 }

``````````

</details>


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

Reply via email to