[flang-commits] [PATCH] D136994: [flang] Require explicit interface for some dummy procedures

Thorsten via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Oct 28 15:22:41 PDT 2022


tschuett added inline comments.


================
Comment at: flang/lib/Evaluate/characteristics.cpp:408
+bool DummyProcedure::CanBePassedViaImplicitInterface() const {
+  if ((attrs & Attrs{Attr::Optional, Attr::Pointer}).any()) {
+    return false; // 15.4.2.2(3)(a)
----------------
`return !(attrs & Attrs{Attr::Optional, Attr::Pointer}).any();` ?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136994/new/

https://reviews.llvm.org/D136994



More information about the flang-commits mailing list