[flang-commits] [flang] [flang][OpenMP] Don't check unlabelled `cycle` branching for target loops (PR #111656)

via flang-commits flang-commits at lists.llvm.org
Wed Oct 9 03:06:05 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 10008f731d4afd1f2a0b48da38d482b23232a09d 84a85e8e1541c397a3e85501a60bbc967a260b74 --extensions h -- flang/lib/Semantics/check-directive-structure.h
``````````

</details>

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

``````````diff
diff --git a/flang/lib/Semantics/check-directive-structure.h b/flang/lib/Semantics/check-directive-structure.h
index ee360161d3..2a9cb785a8 100644
--- a/flang/lib/Semantics/check-directive-structure.h
+++ b/flang/lib/Semantics/check-directive-structure.h
@@ -75,7 +75,8 @@ public:
         case llvm::omp::Directive::OMPD_distribute_simd:
         case llvm::omp::Directive::OMPD_distribute_parallel_for_simd:
         case llvm::omp::Directive::OMPD_target_teams_distribute_parallel_do:
-        case llvm::omp::Directive::OMPD_target_teams_distribute_parallel_do_simd:
+        case llvm::omp::Directive::
+            OMPD_target_teams_distribute_parallel_do_simd:
           return;
         default:
           break;

``````````

</details>


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


More information about the flang-commits mailing list