[all-commits] [llvm/llvm-project] 6d4438: [flang] Make subscript list argument a nullable po...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Nov 8 12:13:03 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d44387e21a1b78eb7263f3610e7f11a42fecd24
      https://github.com/llvm/llvm-project/commit/6d44387e21a1b78eb7263f3610e7f11a42fecd24
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-11-08 (Mon, 08 Nov 2021)

  Changed paths:
    M flang/runtime/assign.cpp
    M flang/runtime/descriptor-io.h
    M flang/runtime/namelist.cpp
    M flang/runtime/type-info.cpp
    M flang/runtime/type-info.h

  Log Message:
  -----------
  [flang] Make subscript list argument a nullable pointer

Component::CreatePointerDescriptor unconditionally expects a
vector of subscripts to be passed as an argument, but is called
from NAMELIST input with a null pointer.  Make that argument
a nullable pointer, move it to the end of the argument list,
and give it a default value of nullptr.

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




More information about the All-commits mailing list