[PATCH] D35046: [coroutines] Include "this" type when looking up coroutine_traits

Toby Allsopp via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 6 03:05:01 PDT 2017


toby-allsopp created this revision.

In N4663, section [dcl.fct.def.coroutine] states that, in a coroutine
that is a non-static member function, the type of the implicit object
parameter is included immediately before the types of the function
parameters.


https://reviews.llvm.org/D35046

Files:
  lib/Sema/SemaCoroutine.cpp
  test/SemaCXX/coroutine-nonstatic-member-function.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35046.105388.patch
Type: text/x-patch
Size: 3562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170706/973c5ab2/attachment-0001.bin>


More information about the cfe-commits mailing list