[Openmp-commits] [openmp] [OpenMP][NFC] Move Environment.h and SourceInfo.h into "Shared" inclu… (PR #73703)

via Openmp-commits openmp-commits at lists.llvm.org
Tue Nov 28 13:50:24 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 8327f4a851fe45760b12752acd0f3b9c1a64b1f3 9ea611312995a7f7c8c3ef207e7fb3faa0cfce1b -- openmp/libomptarget/DeviceRTL/include/Configuration.h openmp/libomptarget/DeviceRTL/include/Interface.h openmp/libomptarget/DeviceRTL/include/State.h openmp/libomptarget/DeviceRTL/src/Allocator.cpp openmp/libomptarget/DeviceRTL/src/Debug.cpp openmp/libomptarget/DeviceRTL/src/Kernel.cpp openmp/libomptarget/DeviceRTL/src/State.cpp openmp/libomptarget/include/omptarget.h openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp openmp/libomptarget/plugins-nextgen/generic-elf-64bit/src/rtl.cpp openmp/libomptarget/src/private.h openmp/libomptarget/include/Shared/Environment.h openmp/libomptarget/include/Shared/SourceInfo.h
``````````

</details>

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

``````````diff
diff --git a/openmp/libomptarget/DeviceRTL/src/Debug.cpp b/openmp/libomptarget/DeviceRTL/src/Debug.cpp
index 83f37ac587..aecc33c049 100644
--- a/openmp/libomptarget/DeviceRTL/src/Debug.cpp
+++ b/openmp/libomptarget/DeviceRTL/src/Debug.cpp
@@ -12,8 +12,8 @@
 
 #include "Shared/Environment.h"
 
-#include "Debug.h"
 #include "Configuration.h"
+#include "Debug.h"
 #include "Interface.h"
 #include "Mapping.h"
 #include "State.h"

``````````

</details>


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


More information about the Openmp-commits mailing list