[all-commits] [llvm/llvm-project] c81fe7: [flang] Fix GENERIC, PUBLIC/PRIVATE

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Aug 29 08:48:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c81fe7f6ce33c974e3bcb7a96c1bf6fbc3ddf2b1
      https://github.com/llvm/llvm-project/commit/c81fe7f6ce33c974e3bcb7a96c1bf6fbc3ddf2b1
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-08-29 (Tue, 29 Aug 2023)

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

  Log Message:
  -----------
  [flang] Fix GENERIC, PUBLIC/PRIVATE

The handling of accessibility attributes on GENERIC statements outside
derived type definitions is incorrect in name resolution.  Change it to
use the usual BeginAttrs()/EndAttrs() infrastructure.

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




More information about the All-commits mailing list