[flang-commits] [flang] [flang] Enumeration Type: (PR 1/5) Foundation types + Parser (PR #192651)
via flang-commits
flang-commits at lists.llvm.org
Thu May 21 14:49:39 PDT 2026
================
@@ -199,6 +207,16 @@ std::optional<Expr<SubscriptInteger>> DynamicType::MeasureSizeInBytes(
}
break;
case TypeCategory::Derived:
+ // EnumerationTypes might not have scope set yet.
+ if (derived_ && (GetDerivedTypeSpec().category() ==
----------------
kwyatt-ext wrote:
Added comments.
https://github.com/llvm/llvm-project/pull/192651
More information about the flang-commits
mailing list