[clang] Fileequality bugfix (PR #133253)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 27 07:17:11 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 a27da0a20cbfb9f0c600d53bf2520f068b222f59 f0951dd4e78e7fee55b9ad90ee3fb5b892070dac --extensions c,inc -- 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/133253
More information about the cfe-commits
mailing list