[flang-commits] [PATCH] D139123: [flang] Enforce accessibility requirement on type-bound generic operators, &c.

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Dec 1 08:53:24 PST 2022


klausler created this revision.
klausler added a reviewer: vdonaldson.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a project: All.
klausler requested review of this revision.

Type-bound generics like operator(+) and assignment(=) need to not be
PRIVATE if they are used outside the module in which they are declared.


https://reviews.llvm.org/D139123

Files:
  flang/include/flang/Semantics/scope.h
  flang/include/flang/Semantics/tools.h
  flang/lib/Semantics/expression.cpp
  flang/lib/Semantics/resolve-names.cpp
  flang/lib/Semantics/tools.cpp
  flang/test/Semantics/resolve34.f90
  flang/test/Semantics/resolve63.f90
  flang/test/Semantics/resolve64.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139123.479317.patch
Type: text/x-patch
Size: 20048 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221201/a3c77771/attachment-0001.bin>


More information about the flang-commits mailing list