[all-commits] [llvm/llvm-project] 77e965: [flang] Allow for submodule override of module pro...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Aug 29 09:00:43 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77e965ef454ab1fcb2564e3ade17880a71542f58
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-08-29 (Tue, 29 Aug 2023)

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

  Log Message:
  [flang] Allow for submodule override of module procedure

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.

Differential Revision: https://reviews.llvm.org/D159033

More information about the All-commits mailing list