[flang-commits] [flang] [flang][OpenMP][NFC] Outline `genOpWithBody` & `createBodyOfOp` args (PR #80817)
Sergio Afonso via flang-commits
flang-commits at lists.llvm.org
Tue Feb 6 04:57:50 PST 2024
================
@@ -2475,39 +2481,43 @@ static void genBodyOfTargetDataOp(
genNestedEvaluations(converter, eval);
}
+struct GenOpWithBodyInfo {
----------------
skatrak wrote:
This structure contains the same fields as `CreateBodyOfOpInfo` except for the `args` and `dsp` fields. Maybe it makes sense to have that structure inherit from this one so we're not using different names/types for the same things (e.g. `Location &loc` vs `Location currentLocation`).
https://github.com/llvm/llvm-project/pull/80817
More information about the flang-commits
mailing list