[all-commits] [llvm/llvm-project] b6713f: [flang] Add one semantic check for procedure bind(...

PeixinQiao via All-commits all-commits at lists.llvm.org
Wed Jun 8 09:39:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b6713feec76af095fa066aa6a4aad72783e5d7d2
      https://github.com/llvm/llvm-project/commit/b6713feec76af095fa066aa6a4aad72783e5d7d2
  Author: PeixinQiao <qiaopeixin at huawei.com>
  Date:   2022-06-09 (Thu, 09 Jun 2022)

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp
    A flang/test/Semantics/bind-c03.f90
    M flang/test/Semantics/modfile16.f90
    M flang/test/Semantics/resolve82.f90

  Log Message:
  -----------
  [flang] Add one semantic check for procedure bind(C) interface-name

As Fortran 2018 C1521, in procedure declaration statement, if
proc-language-binding-spec (bind(c)) is specified, the proc-interface
shall appear, it shall be an interface-name, and interface-name shall
be declared with a proc-language-binding-spec.

Reviewed By: klausler, Jean Perier

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




More information about the All-commits mailing list