[flang-commits] [PATCH] D88797: [flang] Fix copy elision assumption.

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Mon Oct 5 11:29:18 PDT 2020


klausler added a comment.

A much smaller work-around: extend the sole constructor of `Restorer` to accept a reference and a value, and then modify `ScopedSet` to construct its result as part of the `return` statement.  `Restorer` doesn't need move construction or move assignment for its clients.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88797



More information about the flang-commits mailing list