[PATCH] D101126: [flang] Check for attributes specific to dummy arguments

Pete Steinfeld via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 22 19:30:42 PDT 2021


PeteSteinfeld created this revision.
PeteSteinfeld added reviewers: klausler, tskeith.
PeteSteinfeld requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

We were not checking that attributes that are supposed to be specific to
dummy arguments were not being used for local entities.  I added the checks
along with tests for them.

After implementing these new checks, I found that one of the tests in
separate-mp02.f90 was erroneous, and I fixed it.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101126

Files:
  flang/lib/Semantics/check-declarations.cpp
  flang/test/Semantics/resolve58.f90
  flang/test/Semantics/separate-mp02.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101126.339845.patch
Type: text/x-patch
Size: 4466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210423/e5b603a6/attachment.bin>


More information about the llvm-commits mailing list