HomePhabricator

[flang] Fix spurious "already declared" errors for interfaces

Authored by klausler on Jun 2 2021, 5:33 PM.

Description

[flang] Fix spurious "already declared" errors for interfaces

When a subroutine or function symbol is defined in an INTERFACE
block, it's okay if a symbol of the same name appears in a
scope between the global scope and the scope of the INTERFACE.

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