[all-commits] [llvm/llvm-project] 456fdf: [flang] Enable more usage of generics with forward...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Aug 29 09:14:39 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 456fdf851c19f79a895c59341d491ce819138522
  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/symbol29.f90

  Log Message:
  [flang] Enable more usage of generics with forward-referenced specifics in specification parts

Earlier work allowed a specification expression to reference a generic function
that was defined earlier, so long as the relevant specific procedure of the
generic had been defined before the generic.  This patch extends that work
so that the generic can also be used in cases where the relevant specific
procedure has been defined after the generic and before the reference.

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

More information about the All-commits mailing list