[all-commits] [llvm/llvm-project] bf8f9b: [flang] Fix regression from generic fix

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Apr 22 12:27:06 PDT 2022

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

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

  Log Message:
  [flang] Fix regression from generic fix

A recent change that corrected the name resolution of a generic interface
when the same name was visible in scope incorrectly prevented a local
generic from shadowing an outer name that is not a generic, subprogram,
or derived type -- e.g., a simple variable -- leading to an inappropriate
error message.

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

More information about the All-commits mailing list