[all-commits] [llvm/llvm-project] 3cf825: [flang] Allow `to` argument of move_alloc to be cl...

David Truby via All-commits all-commits at lists.llvm.org
Tue Feb 28 06:33:27 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3cf8259519c9fde6b8bb45cea4b8400bc5a7e386
      https://github.com/llvm/llvm-project/commit/3cf8259519c9fde6b8bb45cea4b8400bc5a7e386
  Author: David Truby <David.Truby at arm.com>
  Date:   2023-02-28 (Tue, 28 Feb 2023)

  Changed paths:
    M flang/runtime/allocatable.cpp

  Log Message:
  -----------
  [flang] Allow `to` argument of move_alloc to be class(*)

This patch expands the runtime check in move_alloc to allow the
destination to be unlimited polymorphic.

Reviewed By: clementval

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




More information about the All-commits mailing list