[all-commits] [llvm/llvm-project] e1ee20: [flang] Ignore inaccessible components when extend...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Aug 9 07:44:21 PDT 2022


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

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

  Log Message:
  -----------
  [flang] Ignore inaccessible components when extending types or constructing structures

Inaccessible components -- those declared PRIVATE in another module -- should
be allowed to be redeclared in extended types, and should be ignored if
they appear as keywords in structure constructors.

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




More information about the All-commits mailing list