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

via flang-commits flang-commits at lists.llvm.org
Tue May 5 14:05:14 PDT 2026


tmjbios wrote:

Thanks for the prod, @kiranchandramohan; this PR has been sitting for a while. 

This update uses @klausler's suggestion to inspect & collect during specification handling.

After a first-pass of that implementation, @kwyatt-ext came up with a test or two that uncovered some additional holes in how I would scan for re-exports, so I addressed that failure with the proper explicit heuristic from the standard and added the tests.

Moving the map out of Scope and going to a pre-scan before USE statement handling made this a much narrower change overall.

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


More information about the flang-commits mailing list