[Openmp-commits] [openmp] [OpenMP][NFC] Encapsulate profiling logic (PR #74003)

via Openmp-commits openmp-commits at lists.llvm.org
Thu Nov 30 15:33:33 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 148dec9fa43b3a16b08169df8bdf3bbae24aa9b0 346004707d43b3b1acb90c796b7171a677ba9dac -- openmp/libomptarget/include/Shared/Profile.h openmp/libomptarget/src/rtl.cpp
``````````

</details>

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

``````````diff
diff --git a/openmp/libomptarget/src/rtl.cpp b/openmp/libomptarget/src/rtl.cpp
index 289a3bc552..42d147d1c1 100644
--- a/openmp/libomptarget/src/rtl.cpp
+++ b/openmp/libomptarget/src/rtl.cpp
@@ -62,7 +62,6 @@ __attribute__((constructor(101))) void init() {
 
   PM = new PluginManager(UseEventsForAtomicTransfers);
 
-
 #ifdef OMPT_SUPPORT
   // Initialize OMPT first
   ompt::connectLibrary();

``````````

</details>


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


More information about the Openmp-commits mailing list