[all-commits] [llvm/llvm-project] 086234: [flang] A separate module procedure must inherit i...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Sep 23 11:44:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 086234927a05860a5f02b60bce02e5d6be7f878a
      https://github.com/llvm/llvm-project/commit/086234927a05860a5f02b60bce02e5d6be7f878a
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-09-23 (Fri, 23 Sep 2022)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Semantics/separate-mp02.f90

  Log Message:
  -----------
  [flang] A separate module procedure must inherit interface attributes

Attributes like PURE, ELEMENTAL, &c. are specified on the interface of
a separate module procedure, so when the MODULE PROCEDURE is defined in
a submodule, it must acquire those attributes from the interface.

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




More information about the All-commits mailing list