[all-commits] [llvm/llvm-project] 3fa62e: [flang] Add semantic check for C1520
PeixinQiao via All-commits
all-commits at lists.llvm.org
Wed Jun 22 09:06:32 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3fa62efdbb6c2b639cc47823c4a5f39fc1240792
https://github.com/llvm/llvm-project/commit/3fa62efdbb6c2b639cc47823c4a5f39fc1240792
Author: Peixin Qiao <qiaopeixin at huawei.com>
Date: 2022-06-23 (Thu, 23 Jun 2022)
Changed paths:
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/resolve-names.cpp
A flang/test/Semantics/bind-c04.f90
M flang/test/Semantics/modfile16.f90
Log Message:
-----------
[flang] Add semantic check for C1520
As Fortran 2018 C1520, if proc-language-binding-spec with NAME= is
specified, then proc-decl-list shall contain exactly one proc-decl,
which shall neither have the POINTER attribute nor be a dummy procedure.
Add this check.
Reviewed By: klausler
Differential Revision: https://reviews.llvm.org/D127725
More information about the All-commits
mailing list