[all-commits] [llvm/llvm-project] f3d833: [flang] Support BIND(C) variable scope check

PeixinQiao via All-commits all-commits at lists.llvm.org
Tue May 31 08:27:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3d8335383672df3b3b950a082c2b11a80cbdb9d
      https://github.com/llvm/llvm-project/commit/f3d8335383672df3b3b950a082c2b11a80cbdb9d
  Author: PeixinQiao <qiaopeixin at huawei.com>
  Date:   2022-05-31 (Tue, 31 May 2022)

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp
    A flang/test/Semantics/resolve113.f90

  Log Message:
  -----------
  [flang] Support BIND(C) variable scope check

As Fortran 2018 C819, a variable with the BIND attribute shall be declared
in the specification part of a module. Add the support for this check.

Reviewed By: klausler

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




More information about the All-commits mailing list