[flang-commits] [PATCH] D159033: [flang] Allow for submodule override of module procedure

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Mon Aug 28 16:07:33 PDT 2023


klausler created this revision.
klausler added a reviewer: vdonaldson.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a project: All.
klausler requested review of this revision.

When checking that a module procedure definition is unique, allow for
the possibility that a submodule may contain a module procedure
interface that shadows a module procedure of the same name in its
(sub)module parent.   In other words, module procedure definitions
need only be unique in the tree of submodules rooted at the (sub)module
containing the relevant module procedure interface.


https://reviews.llvm.org/D159033

Files:
  flang/include/flang/Semantics/tools.h
  flang/lib/Semantics/check-declarations.cpp
  flang/lib/Semantics/tools.cpp
  flang/test/Semantics/separate-mp04.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159033.554086.patch
Type: text/x-patch
Size: 3988 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230828/be2dfa53/attachment.bin>


More information about the flang-commits mailing list