[flang-commits] [flang] [flang] Update PUBLIC and PRIVATE accessibility to Fortran 2018 (PR #177596)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Wed Mar 4 07:47:46 PST 2026


klausler wrote:

Not a full review, but an alternative idea: you could do a quick skim over a module's specification part at the start of its name resolution and collect a set of name+accessibility markers from the `private`/`public` statements.  This set would then inform the processing of `USE` statements as the names of the modules become known.  You'd also want to create local place-taking symbols for those modules so that their names couldn't be reused later.

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


More information about the flang-commits mailing list