[llvm] [cross-project-tests] Fix struct-dse example so that it fails again (PR #73566)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 27 12:56:59 PST 2023
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 03d4a9d94da30590ebfc444cf13a8763f47b7bb9 e9da1c16d6475dcfafc797b6dcfb02c23eed7961 -- cross-project-tests/debuginfo-tests/dexter-tests/memvars/struct-dse.c
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/cross-project-tests/debuginfo-tests/dexter-tests/memvars/struct-dse.c b/cross-project-tests/debuginfo-tests/dexter-tests/memvars/struct-dse.c
index 9380bc5a0b..2975b88e8b 100644
--- a/cross-project-tests/debuginfo-tests/dexter-tests/memvars/struct-dse.c
+++ b/cross-project-tests/debuginfo-tests/dexter-tests/memvars/struct-dse.c
@@ -10,7 +10,9 @@
//// Check debug-info for the escaped struct variable num is reasonable.
#include <stdio.h>
-struct Nums { int a, b, c, d, e, f, g, h, i, j; };
+struct Nums {
+ int a, b, c, d, e, f, g, h, i, j;
+};
struct Nums glob;
__attribute__((__noinline__))
void esc(struct Nums* nums) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/73566
More information about the llvm-commits
mailing list