[all-commits] [llvm/llvm-project] 665d41: [flang] Fix module file missing USE for shadowed d...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Mar 7 17:13:13 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 665d41593f9d8e914f907345ae5669ddd08a18c1
      https://github.com/llvm/llvm-project/commit/665d41593f9d8e914f907345ae5669ddd08a18c1
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-03-07 (Mon, 07 Mar 2022)

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

  Log Message:
  -----------
  [flang] Fix module file missing USE for shadowed derived type

When a module uses a derived type that is shadowed by a generic
interface, the module file was missing a USE statement for the
name.  Detect and handle this situation.

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




More information about the All-commits mailing list