[PATCH] D94781: [flang] Disallow INTENT attribute on procedure dummy arguments
Pete Steinfeld via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 15 07:56:21 PST 2021
PeteSteinfeld added inline comments.
================
Comment at: flang/lib/Semantics/check-declarations.cpp:635
if (details.isDummy()) {
+ if (!symbol.attrs().test(Attr::POINTER) && // c843
+ (symbol.attrs().test(Attr::INTENT_IN) ||
----------------
tskeith wrote:
> `c843` -> `C843` would be consistent with other references to constraints.
Oops. I'll fix it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94781/new/
https://reviews.llvm.org/D94781
More information about the llvm-commits
mailing list