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 a27da0a20cbfb9f0c600d53bf2520f068b222f59 
262f6602c76de472ddcacfe1d13069f777aaec73 --extensions inc,c -- 
clang/bindings/python/tests/cindex/INPUTS/a.inc 
clang/bindings/python/tests/cindex/INPUTS/b.inc 
clang/bindings/python/tests/cindex/INPUTS/testfile.c
``````````

</details>

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

``````````diff
diff --git a/clang/bindings/python/tests/cindex/INPUTS/a.inc 
b/clang/bindings/python/tests/cindex/INPUTS/a.inc
index 3fde4e2023..06e3fc7b04 100644
--- a/clang/bindings/python/tests/cindex/INPUTS/a.inc
+++ b/clang/bindings/python/tests/cindex/INPUTS/a.inc
@@ -1 +1 @@
-1,2,3
\ No newline at end of file
+1, 2, 3
\ No newline at end of file
diff --git a/clang/bindings/python/tests/cindex/INPUTS/b.inc 
b/clang/bindings/python/tests/cindex/INPUTS/b.inc
index 3fde4e2023..06e3fc7b04 100644
--- a/clang/bindings/python/tests/cindex/INPUTS/b.inc
+++ b/clang/bindings/python/tests/cindex/INPUTS/b.inc
@@ -1 +1 @@
-1,2,3
\ No newline at end of file
+1, 2, 3
\ No newline at end of file
diff --git a/clang/bindings/python/tests/cindex/INPUTS/testfile.c 
b/clang/bindings/python/tests/cindex/INPUTS/testfile.c
index 23dc5165e2..21778bc0b1 100644
--- a/clang/bindings/python/tests/cindex/INPUTS/testfile.c
+++ b/clang/bindings/python/tests/cindex/INPUTS/testfile.c
@@ -1,6 +1,6 @@
-int a[] = { 
-    #include "a.inc"
+int a[] = {
+#include "a.inc"
 };
-int b[] = { 
-    #include "b.inc"
+int b[] = {
+#include "b.inc"
 };

``````````

</details>


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

Reply via email to