[all-commits] [llvm/llvm-project] df3e5f: [flang] Emit missing IMPORTs in module file interf...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Aug 25 15:10:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df3e5f18d0eb5c7b389f2a17f6cdb08a4787800c
      https://github.com/llvm/llvm-project/commit/df3e5f18d0eb5c7b389f2a17f6cdb08a4787800c
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-08-25 (Thu, 25 Aug 2022)

  Changed paths:
    M flang/lib/Semantics/mod-file.cpp
    M flang/test/Semantics/modfile46.f90
    A flang/test/Semantics/modfile49.f90

  Log Message:
  -----------
  [flang] Emit missing IMPORTs in module file interfaces

When a symbol from the enclosing scope is necessary to declare
a procedure or procedure pointer dummy argument or function result
for a procedure interface, note it in the collection of symbols to
be imported when scanning that interface.

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




More information about the All-commits mailing list