[all-commits] [llvm/llvm-project] d80a29: [flang] Check for BIND(C) through use association.

Slava Zakharin via All-commits all-commits at lists.llvm.org
Wed Mar 1 12:03:05 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d80a29a933a087f82e153ae21d1956909c08fed3
      https://github.com/llvm/llvm-project/commit/d80a29a933a087f82e153ae21d1956909c08fed3
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M flang/lib/Semantics/tools.cpp
    A flang/test/Lower/bindc_procs.f90

  Log Message:
  -----------
  [flang] Check for BIND(C) through use association.

If the interface specifies BIND(C), then the declarations using
this interface inherit BIND(C), and if they are referenced via use
association they must be classified as BIND(C) subprograms.

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




More information about the All-commits mailing list