[flang-commits] [flang] [mlir] [MLIR][OpenMP][Flang] Normalize clause arguments names (PR #99505)

Michael Kruse via flang-commits flang-commits at lists.llvm.org
Mon Jul 22 09:04:19 PDT 2024


================
@@ -422,11 +455,11 @@ class OpenMP_IfClauseSkip<
   > : OpenMP_Clause</*isRequired=*/false, traits, arguments, assemblyFormat,
                     description, extraClassDeclaration> {
   let arguments = (ins
-    Optional<I1>:$if_expr
+    Optional<I1>:$if_var
----------------
Meinersbur wrote:

`if_expr` sounds more appropriate since it is not necessarily a variable (like for `private`), but can be a (constant/non-constant) expression.

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


More information about the flang-commits mailing list