[all-commits] [llvm/llvm-project] 341126: [flang] Ensure USE associations of shadowed proced...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Oct 6 11:27:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3411263dde4f3c49356b8433336f25a73dc4844c
      https://github.com/llvm/llvm-project/commit/3411263dde4f3c49356b8433336f25a73dc4844c
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    A flang/test/Semantics/modfile52.f90

  Log Message:
  -----------
  [flang] Ensure USE associations of shadowed procedures are emitted to module files

When a generic interface in a module shadows a procedure of the same name that
has been brought into scope via USE association, ensure that that USE association is
not lost when the module file is written.

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




More information about the All-commits mailing list