[flang-commits] [flang] [Flang][OpenMP] Error gracefully for dependence-type with depobj (PR #116621)

via flang-commits flang-commits at lists.llvm.org
Mon Nov 18 05:57:05 PST 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 dec6324cb05ac1d339c1b2bd43add968f2931c62 aa4ceedebbea225011a6f76de9e5805571ef6f7c --extensions cpp -- flang/lib/Lower/OpenMP/ClauseProcessor.cpp
``````````

</details>

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

``````````diff
diff --git a/flang/lib/Lower/OpenMP/ClauseProcessor.cpp b/flang/lib/Lower/OpenMP/ClauseProcessor.cpp
index 993acd81f5..3cf9734302 100644
--- a/flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+++ b/flang/lib/Lower/OpenMP/ClauseProcessor.cpp
@@ -140,7 +140,8 @@ genDependKindAttr(lower::AbstractConverter &converter,
   case omp::clause::DependenceType::Mutexinoutset:
   case omp::clause::DependenceType::Inoutset:
   case omp::clause::DependenceType::Depobj:
-    TODO(currentLocation, "INOUTSET, MUTEXINOUTSET and DEPOBJ dependence-types");
+    TODO(currentLocation,
+         "INOUTSET, MUTEXINOUTSET and DEPOBJ dependence-types");
     break;
   case omp::clause::DependenceType::Sink:
   case omp::clause::DependenceType::Source:

``````````

</details>


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


More information about the flang-commits mailing list