[all-commits] [llvm/llvm-project] 69a82d: [flang] Fix spurious "already declared" errors for...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Jun 3 15:31:07 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69a82d7c08be4c7d7ab6f3de7711944a00d3e4cc
      https://github.com/llvm/llvm-project/commit/69a82d7c08be4c7d7ab6f3de7711944a00d3e4cc
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-06-03 (Thu, 03 Jun 2021)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list