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

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Oct 28 15:26:52 PDT 2022


klausler 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)
----------------
tschuett wrote:
> `return !(attrs & Attrs{Attr::Optional, Attr::Pointer}).any();` ?
Does that seem more clear to you?


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

https://reviews.llvm.org/D136994



More information about the flang-commits mailing list