[PATCH] D94781: [flang] Disallow INTENT attribute on procedure dummy arguments

Tim Keith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 15 07:52:57 PST 2021


tskeith accepted this revision.
tskeith added inline comments.
This revision is now accepted and ready to land.


================
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) ||
----------------
`c843` -> `C843` would be consistent with other references to constraints.


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