[all-commits] [llvm/llvm-project] 95199a: [flang] Local generics must not shadow host-associ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Apr 14 15:48:13 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 95199af4ae36c0e05714a99d084237d8e1cd14c2
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-04-14 (Thu, 14 Apr 2022)

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

  Log Message:
  [flang] Local generics must not shadow host-associated generics

It is possible for generic interfaces of equivalent (but not necessarily
identical -- operator(.eq.) is equivalent to operator(==)) names to
be declared in a host scope and a nested scope, and the nested declaration
should function as an extension of the host's.

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

More information about the All-commits mailing list