[llvm] [OFFLOAD] Remove weak from __kmpc_* calls and gather them in one header (PR #164613)

via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 22 05:32:10 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 origin/main HEAD --extensions h,cpp -- offload/include/OffloadPolicy.h offload/include/OpenMP/InternalTypes.h offload/libomptarget/OpenMP/API.cpp offload/libomptarget/OpenMP/InteropAPI.cpp --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/offload/include/OffloadPolicy.h b/offload/include/OffloadPolicy.h
index 6656e2dd9..9bbd1fffb 100644
--- a/offload/include/OffloadPolicy.h
+++ b/offload/include/OffloadPolicy.h
@@ -22,7 +22,6 @@ enum kmp_target_offload_kind_t {
   tgt_mandatory = 2
 };
 
-
 class OffloadPolicy {
 
   OffloadPolicy(PluginManager &PM) {

``````````

</details>


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


More information about the llvm-commits mailing list