[Openmp-commits] [openmp] [OpenMP][NFC] Move out plugin API and APITypes into standalone headers (PR #73868)

via Openmp-commits openmp-commits at lists.llvm.org
Wed Nov 29 15:11:46 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 efc60dc00796fd113e057a92c6861eeb57e649ae b1f90db309c8cb522be08e53e38893fd1ebe9ef9 -- openmp/libomptarget/include/Shared/APITypes.h openmp/libomptarget/include/omptarget.h openmp/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp openmp/libomptarget/plugins-nextgen/common/src/Utils/ELF.cpp openmp/libomptarget/plugins-nextgen/common/src/Utils/ELF.h openmp/libomptarget/tools/kernelreplay/llvm-omp-kernel-replay.cpp openmp/libomptarget/include/Shared/PluginAPI.h
``````````

</details>

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

``````````diff
diff --git a/openmp/libomptarget/include/Shared/PluginAPI.h b/openmp/libomptarget/include/Shared/PluginAPI.h
index 4147879bf6..94beab2dce 100644
--- a/openmp/libomptarget/include/Shared/PluginAPI.h
+++ b/openmp/libomptarget/include/Shared/PluginAPI.h
@@ -215,7 +215,6 @@ int32_t __tgt_rtl_data_notify_unmapped(int32_t ID, void *HstPtr);
 // Set the global device identifier offset, such that the plugin may determine a
 // unique device number.
 int32_t __tgt_rtl_set_device_offset(int32_t DeviceIdOffset);
-
 }
 
 #endif // OMPTARGET_SHARED_PLUGIN_API_H

``````````

</details>


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


More information about the Openmp-commits mailing list