[flang-commits] [flang] [flang][NFC] Move OpenMP related passes into a separate directory (PR #104732)

via flang-commits flang-commits at lists.llvm.org
Sun Aug 18 20:26:26 PDT 2024


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 1c5f6cfc352c3bd2a4faa0e3aebb4028b557a5e7 efda32991671b04614f12fb2ea10590395c1f0be --extensions inc,cpp,h -- flang/include/flang/Optimizer/OpenMP/Passes.h flang/include/flang/Tools/CLOptions.inc flang/tools/fir-opt/fir-opt.cpp flang/lib/Optimizer/OpenMP/OMPFunctionFiltering.cpp flang/lib/Optimizer/OpenMP/OMPMapInfoFinalization.cpp flang/lib/Optimizer/OpenMP/OMPMarkDeclareTarget.cpp
``````````

</details>

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

``````````diff
diff --git a/flang/include/flang/Tools/CLOptions.inc b/flang/include/flang/Tools/CLOptions.inc
index 1ad74a98c8..e4b3bb1d14 100644
--- a/flang/include/flang/Tools/CLOptions.inc
+++ b/flang/include/flang/Tools/CLOptions.inc
@@ -17,8 +17,8 @@
 #include "mlir/Transforms/Passes.h"
 #include "flang/Optimizer/CodeGen/CodeGen.h"
 #include "flang/Optimizer/HLFIR/Passes.h"
-#include "flang/Optimizer/Transforms/Passes.h"
 #include "flang/Optimizer/OpenMP/Passes.h"
+#include "flang/Optimizer/Transforms/Passes.h"
 #include "llvm/Passes/OptimizationLevel.h"
 #include "llvm/Support/CommandLine.h"
 #include <type_traits>

``````````

</details>


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


More information about the flang-commits mailing list