[all-commits] [llvm/llvm-project] 199402: [flang] Check dummy arguments of BIND(C) procedures

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


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

  Changed paths:
    M flang/docs/Extensions.md
    M flang/lib/Semantics/check-declarations.cpp
    M flang/module/iso_c_binding.f90
    M flang/module/omp_lib.h
    M flang/test/Lower/call-by-value.f90
    A flang/test/Semantics/bind-c11.f90
    M flang/test/Semantics/modfile04.f90

  Log Message:
  -----------
  [flang] Check dummy arguments of BIND(C) procedures

Declaration checking in semantics was only examining symbols with
explicit BIND(C) attributes; extend it to also check dummy arguments
to such procedures.

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




More information about the All-commits mailing list