[all-commits] [llvm/llvm-project] 702a86: [flang] Correct accessibility of name that is both...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Mar 13 15:14:18 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 702a86a8f1e4d96c62574fc8d7dd9ccea243517a
      https://github.com/llvm/llvm-project/commit/702a86a8f1e4d96c62574fc8d7dd9ccea243517a
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-03-13 (Wed, 13 Mar 2024)

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

  Log Message:
  -----------
  [flang] Correct accessibility of name that is both generic and derive… (#85098)

…d type

When the same name is used for a derived type and generic interface in a
module, and no explicit PUBLIC or PRIVATE statement appears for the name
but the derived type definition does have an explicit accessibility,
that accessibility must also apply to the generic interface.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list