[flang-commits] [flang] [flang] Update PUBLIC and PRIVATE accessibility to Fortran 2018 (PR #177596)
via flang-commits
flang-commits at lists.llvm.org
Thu May 21 06:33:27 PDT 2026
================
@@ -771,6 +770,13 @@ class ScopeHandler : public ImplicitRulesVisitor {
std::set<SourceName> entities; // names of entities with save attr
std::set<SourceName> commons; // names of common blocks with save attr
} saveInfo;
+ // F2023 8.6.1: module-name access-ids from PUBLIC/PRIVATE statements;
+ std::map<SourceName, Attr> moduleAccessibility;
+ // F2023 8.6.1: source positions of duplicate module-name access-ids
+ std::set<const char *> duplicateModuleAccessibility;
----------------
tmjbios wrote:
Good point - I'll update the comment; we need to know if its the actual same string and not just a matching name.
https://github.com/llvm/llvm-project/pull/177596
More information about the flang-commits
mailing list