[all-commits] [llvm/llvm-project] 3c10eb: [flang] Check that a SELECT TYPE selector is not a...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Mar 10 09:08:59 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c10eb4942d458245869d167b67af28a1bfa0d5c
      https://github.com/llvm/llvm-project/commit/3c10eb4942d458245869d167b67af28a1bfa0d5c
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-03-10 (Fri, 10 Mar 2023)

  Changed paths:
    M flang/lib/Semantics/check-select-type.cpp
    M flang/test/Semantics/selecttype01.f90

  Log Message:
  -----------
  [flang] Check that a SELECT TYPE selector is not a procedure

A SELECT TYPE statement's selector must be a variable or expression,
not a procedure; specifically, a function with a polymorphic result
is unacceptable.

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




More information about the All-commits mailing list