[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
Sun Jan 21 02:07:57 PST 2018


EricWF marked an inline comment as done.
EricWF added inline comments.


================
Comment at: test/CodeGenCoroutines/coro-gro-nrvo.cpp:17
+using SizeT = decltype(sizeof(int));
+void* operator new(SizeT __sz, const std::nothrow_t&) noexcept;
+void  operator delete(void* __p, const std::nothrow_t&) noexcept;
----------------
majnemer wrote:
> `SizeT` -> `__SIZE_TYPE__` ?
SGTM.


https://reviews.llvm.org/D42343





More information about the cfe-commits mailing list