[Openmp-commits] [openmp] [OMPT] Fix issue #84180 (PR #84209)

via Openmp-commits openmp-commits at lists.llvm.org
Wed Mar 6 09:46:56 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 0bd9255f8ad9f321dd606365e2bc28447a9976cb 61e6f6bea3c53e36384bca9b93f2c74e555529bd -- openmp/runtime/src/kmp_tasking.cpp
``````````

</details>

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

``````````diff
diff --git a/openmp/runtime/src/kmp_tasking.cpp b/openmp/runtime/src/kmp_tasking.cpp
index c18112ca94..148018cc4a 100644
--- a/openmp/runtime/src/kmp_tasking.cpp
+++ b/openmp/runtime/src/kmp_tasking.cpp
@@ -1305,8 +1305,8 @@ void __kmpc_omp_task_complete(ident_t *loc_ref, kmp_int32 gtid,
   KA_TRACE(10, ("__kmpc_omp_task_complete(enter): T#%d loc=%p task=%p\n", gtid,
                 loc_ref, KMP_TASK_TO_TASKDATA(task)));
 
-  __kmp_task_finish<false>(gtid, task,
-                           NULL, 0); // Not sure how to find task to resume
+  __kmp_task_finish<false>(gtid, task, NULL,
+                           0); // Not sure how to find task to resume
 
   KA_TRACE(10, ("__kmpc_omp_task_complete(exit): T#%d loc=%p task=%p\n", gtid,
                 loc_ref, KMP_TASK_TO_TASKDATA(task)));

``````````

</details>


https://github.com/llvm/llvm-project/pull/84209


More information about the Openmp-commits mailing list