[flang-commits] [flang] [flang][OpenMP] Remember original range in ExecutionPartIterator (PR #185290)
via flang-commits
flang-commits at lists.llvm.org
Mon Mar 9 05:33:53 PDT 2026
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 origin/main HEAD --extensions h,cpp -- flang/include/flang/Parser/openmp-utils.h flang/include/flang/Semantics/openmp-utils.h flang/lib/Parser/openmp-utils.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/flang/include/flang/Semantics/openmp-utils.h b/flang/include/flang/Semantics/openmp-utils.h
index d6b43ecb1..912aa7991 100644
--- a/flang/include/flang/Semantics/openmp-utils.h
+++ b/flang/include/flang/Semantics/openmp-utils.h
@@ -43,9 +43,9 @@ class Symbol;
// Add this namespace to avoid potential conflicts
namespace omp {
<<<<<<< users/kparzysz/e02-iterator-location
+using Fortran::parser::omp::BlockRange;
using Fortran::parser::omp::ExecutionPartIterator;
using Fortran::parser::omp::LoopNestIterator;
-using Fortran::parser::omp::BlockRange;
=======
using Fortran::parser::omp::BlockRange;
using Fortran::parser::omp::ExecutionPartIterator;
``````````
</details>
https://github.com/llvm/llvm-project/pull/185290
More information about the flang-commits
mailing list