[flang-commits] [PATCH] D117577: [flang] Better messages for function vs. array errors

Pete Steinfeld via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue Jan 18 10:46:19 PST 2022


PeteSteinfeld accepted this revision.
PeteSteinfeld added a comment.
This revision is now accepted and ready to land.

Aside from that one nit, all builds, tests, and looks good.



================
Comment at: flang/lib/Semantics/expression.cpp:2815
+  } else {
+    if (!hasArgs) {
+      auto &msg{context.Say(funcRef.v.source,
----------------
This is the only use of "hasArgs".  You could just put the code that defines it here.


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

https://reviews.llvm.org/D117577



More information about the flang-commits mailing list