[flang-commits] [flang] [flang][OpenMP][NFC] Further refactoring for `genOpWithBody` & (PR #80839)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Tue Feb 6 07:40:44 PST 2024


================
@@ -3221,6 +3248,33 @@ static void convertLoopBounds(Fortran::lower::AbstractConverter &converter,
   }
 }
 
+static llvm::SmallVector<const Fortran::semantics::Symbol *> genCodeForIterVar(
----------------
skatrak wrote:

Nit: Maybe it's best to follow the "loop var" name conversion used in other functions like `getLoopVarType` or `createAndSetPrivatizedLoopVar`. Something like this or similar:

```suggestion
static llvm::SmallVector<const Fortran::semantics::Symbol *> genLoopVars(
```

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


More information about the flang-commits mailing list