[Openmp-commits] [openmp] [OpenMP][libomp] Add transparent task flag bit to kmp_tasking_flags (PR #168873)
via Openmp-commits
openmp-commits at lists.llvm.org
Thu Nov 20 05:22:17 PST 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 origin/main HEAD --extensions h -- openmp/runtime/src/kmp.h --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/openmp/runtime/src/kmp.h b/openmp/runtime/src/kmp.h
index a55ee2a9a..051c6d87d 100644
--- a/openmp/runtime/src/kmp.h
+++ b/openmp/runtime/src/kmp.h
@@ -2731,7 +2731,7 @@ typedef struct kmp_tasking_flags { /* Total struct must be exactly 32 bits */
unsigned detachable : 1; /* 1 == can detach */
unsigned free_agent_eligible : 1; /* set if task can be executed by a
free-agent thread */
- unsigned transparent: 1; /* transparent task support (compiler uses this) */
+ unsigned transparent : 1; /* transparent task support (compiler uses this) */
unsigned reserved : 7; /* reserved for compiler use */
/* Library flags */ /* Total library flags must be 16 bits */
``````````
</details>
https://github.com/llvm/llvm-project/pull/168873
More information about the Openmp-commits
mailing list