[flang-commits] [openmp] [mlir] [flang] [Flang][OpenMP] Initial mapping of Fortran pointers and allocatables for target devices (PR #71766)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Fri Nov 10 02:41:21 PST 2023


================
@@ -54,6 +54,9 @@ getOmpObjectSymbol(const Fortran::parser::OmpObject &ompObject) {
                     Fortran::parser::Unwrap<Fortran::parser::ArrayElement>(
                         designator)) {
               sym = GetFirstName(arrayEle->base).symbol;
+            } else if (auto *structComp = Fortran::parser::Unwrap<
+                           Fortran::parser::StructureComponent>(designator)) {
+              sym = structComp->component.symbol;
----------------
kiranchandramohan wrote:

Is it OK to do the Structure Component portion in a separate patch?

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


More information about the flang-commits mailing list