[PATCH] D42343: [coroutines] Fix application of NRVO to Coroutine "Gro" or return object.

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 24 13:18:18 PST 2018


EricWF updated this revision to Diff 131334.
EricWF edited the summary of this revision.
EricWF added a comment.

- Use a better formulation for detecting when the Gro should be an NRVO variable.


https://reviews.llvm.org/D42343

Files:
  lib/Sema/SemaCoroutine.cpp
  test/CodeGenCoroutines/coro-alloc.cpp
  test/CodeGenCoroutines/coro-gro-nrvo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42343.131334.patch
Type: text/x-patch
Size: 4411 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180124/4da8a3e4/attachment-0001.bin>


More information about the cfe-commits mailing list