[all-commits] [llvm/llvm-project] b7a048: [flang] Clarify edge case of host association and ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Oct 6 13:10:53 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b7a0482a0a72438ceab3239ee1e358f953b688c8
      https://github.com/llvm/llvm-project/commit/b7a0482a0a72438ceab3239ee1e358f953b688c8
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

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

  Log Message:
  -----------
  [flang] Clarify edge case of host association and generic interfaces

Name resolution was mishandling cases of generic interfaces and specific procedures
(sometimes complicatd by use of the same name for each) when the specific procedure
was accessed by means of host association; only the scope of the generic interface
definition was searched for the specific procedure.  Also search enclosing scopes
in the usual way.

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




More information about the All-commits mailing list