[polly] Fix incorrect pointer checking (PR #117228)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 22 07:14:32 PST 2024
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 6f76b2a3c010cd25acf4efb56cbde2a678b6242c bfde4b689ab0afe5fec24ad85f1d5e707e791e0b --extensions c -- polly/lib/External/isl/isl_local_space.c
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/polly/lib/External/isl/isl_local_space.c b/polly/lib/External/isl/isl_local_space.c
index 1bffcd544e..9567479a69 100644
--- a/polly/lib/External/isl/isl_local_space.c
+++ b/polly/lib/External/isl/isl_local_space.c
@@ -254,8 +254,8 @@ isl_size isl_local_space_var_offset(__isl_keep isl_local_space *ls,
isl_space *space;
space = isl_local_space_peek_space(ls);
- if (space == NULL)
- return isl_size_error;
+ if (space == NULL)
+ return isl_size_error;
switch (type) {
case isl_dim_param:
case isl_dim_in:
``````````
</details>
https://github.com/llvm/llvm-project/pull/117228
More information about the llvm-commits
mailing list