[flang-commits] [PATCH] D136994: [flang] Require explicit interface for some dummy procedures
Thorsten via Phabricator via flang-commits
flang-commits at lists.llvm.org
Sat Oct 29 00:05:43 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)
----------------
klausler wrote:
> tschuett wrote:
> > `return !(attrs & Attrs{Attr::Optional, Attr::Pointer}).any();` ?
> Does that seem more clear to you?
On second thought, no. The comment has value.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136994/new/
https://reviews.llvm.org/D136994
More information about the flang-commits
mailing list