[all-commits] [llvm/llvm-project] 1e1a01: [flang] Disallow INTENT attribute on procedure dum...

Pete Steinfeld via All-commits all-commits at lists.llvm.org
Fri Jan 15 08:59:13 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e1a011b09d0e6e9ff62b37721906485c386708c
      https://github.com/llvm/llvm-project/commit/1e1a011b09d0e6e9ff62b37721906485c386708c
  Author: Peter Steinfeld <psteinfeld at nvidia.com>
  Date:   2021-01-15 (Fri, 15 Jan 2021)

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Semantics/assign03.f90
    M flang/test/Semantics/call09.f90
    M flang/test/Semantics/separate-mp02.f90

  Log Message:
  -----------
  [flang] Disallow INTENT attribute on procedure dummy arguments

C843 states that "An entity with the INTENT attribute shall be a dummy
data object or a dummy procedure pointer."  This change enforces that
and fixes some tests that erroneously violated this rule.

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




More information about the All-commits mailing list