[Openmp-commits] [openmp] [OpenMP][NFC] Move OMPT headers into OpenMP/OMPT (PR #73718)

via Openmp-commits openmp-commits at lists.llvm.org
Tue Nov 28 15:49:28 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 ac8c9f1e39e1a773fd81ce23dbf1c80ea186f226 5a83b32e2c07c4ee59f300cd86861d100d2a8e2b -- openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp openmp/libomptarget/plugins-nextgen/common/OMPT/OmptCallback.cpp openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp openmp/libomptarget/plugins-nextgen/generic-elf-64bit/src/rtl.cpp openmp/libomptarget/src/OmptCallback.cpp openmp/libomptarget/src/device.cpp openmp/libomptarget/src/interface.cpp openmp/libomptarget/src/omptarget.cpp openmp/libomptarget/src/rtl.cpp openmp/libomptarget/include/OpenMP/OMPT/Callback.h openmp/libomptarget/include/OpenMP/OMPT/Connector.h openmp/libomptarget/include/OpenMP/OMPT/Interface.h
``````````

</details>

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

``````````diff
diff --git a/openmp/libomptarget/include/OpenMP/OMPT/Interface.h b/openmp/libomptarget/include/OpenMP/OMPT/Interface.h
index d68273dc9d..8c3ef105c4 100644
--- a/openmp/libomptarget/include/OpenMP/OMPT/Interface.h
+++ b/openmp/libomptarget/include/OpenMP/OMPT/Interface.h
@@ -249,8 +249,8 @@ private:
 
 // InterfaceRAII's class template argument deduction guide
 template <typename CallbackPairTy, typename... ArgsTy>
-InterfaceRAII(CallbackPairTy Callbacks,
-              ArgsTy... Args) -> InterfaceRAII<CallbackPairTy, ArgsTy...>;
+InterfaceRAII(CallbackPairTy Callbacks, ArgsTy... Args)
+    -> InterfaceRAII<CallbackPairTy, ArgsTy...>;
 
 } // namespace ompt
 } // namespace target

``````````

</details>


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


More information about the Openmp-commits mailing list