[flang-commits] [flang] [flang][Parser] Convert applyMem to invoke non-void members (PR #119782)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Mon Dec 16 06:16:45 PST 2024


================
@@ -141,7 +141,7 @@ collect the values that they return.
 * `applyLambda([](&&x){}, p1, p2, ...)` is the same thing, but for lambdas
   and other function objects.
 * `applyMem(mf, p1, p2, ...)` is the same thing, but invokes a member
-  function of the result of the first parser for updates in place.
+  function of the result of the first parser.
----------------
klausler wrote:

You'll need to look at usage sites (of which there are not many) to be sure this comment is obsolete.  I wouldn't have added that comment unless I had been thinking about mutation in situ at the time.

https://github.com/llvm/llvm-project/pull/119782


More information about the flang-commits mailing list