[llvm-branch-commits] [flang] [Flang][OpenMP][MLIR] Initial derived type member map support (PR #82853)

Sergio Afonso via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue May 7 08:22:14 PDT 2024


================
@@ -97,7 +269,7 @@ getOmpObjectSymbol(const Fortran::parser::OmpObject &ompObject) {
             if (auto *arrayEle =
                     Fortran::parser::Unwrap<Fortran::parser::ArrayElement>(
                         designator)) {
-              sym = GetFirstName(arrayEle->base).symbol;
+              sym = GetLastName(arrayEle->base).symbol;
----------------
skatrak wrote:

Thank you for the explanation, it does make a lot of sense to me (and hopefully to whoever comes by and reads the comment later).

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


More information about the llvm-branch-commits mailing list