[all-commits] [llvm/llvm-project] e2ac99: [flang] Add check for conflict of BIND(C) and Para...

PeixinQiao via All-commits all-commits at lists.llvm.org
Thu Jun 2 05:59:22 PDT 2022


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

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

  Log Message:
  -----------
  [flang] Add check for conflict of BIND(C) and Parameter attributes

The entity with BIND(C) attribute cannot be a named constant, so the
BIND(C) and parameter attributes are conflicted. Add check for it.

Reviewed By: klausler

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




More information about the All-commits mailing list