[flang-commits] [flang] Adding parsing and semantic check support for omp masked (PR #91432)

via flang-commits flang-commits at lists.llvm.org
Wed May 15 01:12:33 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 d7bb0723fe79d2b75d41789d2ffadda3567dd94e 712d385c5a9fb42d10c71a65ce3cf1b6f0087d27 -- flang/include/flang/Semantics/openmp-directive-sets.h flang/lib/Lower/OpenMP/OpenMP.cpp flang/lib/Parser/openmp-parsers.cpp flang/lib/Parser/unparse.cpp flang/lib/Semantics/resolve-directives.cpp
``````````

</details>

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

``````````diff
diff --git a/flang/lib/Lower/OpenMP/OpenMP.cpp b/flang/lib/Lower/OpenMP/OpenMP.cpp
index f6638faf28..8f33f72143 100644
--- a/flang/lib/Lower/OpenMP/OpenMP.cpp
+++ b/flang/lib/Lower/OpenMP/OpenMP.cpp
@@ -1974,8 +1974,7 @@ static void genOMPDispatch(Fortran::lower::AbstractConverter &converter,
                   llvm::omp::getOpenMPDirectiveName(dir) + ")");
     break;
   case llvm::omp::Directive::OMPD_masked:
-    TODO(loc, "Unhandled directive " + 
-                  llvm::omp::getOpenMPDirectiveName(dir));
+    TODO(loc, "Unhandled directive " + llvm::omp::getOpenMPDirectiveName(dir));
   case llvm::omp::Directive::OMPD_master:
     genMasterOp(converter, symTable, semaCtx, eval, loc, clauses, queue, item);
     break;

``````````

</details>


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


More information about the flang-commits mailing list