[coroutines] Include the implicit object parameter type when looking up coroutine_tra...
authorEric Fiselier <eric@efcs.ca>
Mon, 10 Jul 2017 01:27:22 +0000 (01:27 +0000)
committerEric Fiselier <eric@efcs.ca>
Mon, 10 Jul 2017 01:27:22 +0000 (01:27 +0000)
commit166c6e6f053763bd7bacf5fc4f79fc1195082e71
tree69fa0a0a7c09750fe94a03c58e907ff34a8cf326
parentac43c1bb87ac24550c4b1203abf2d783e58619fe
[coroutines] Include the implicit object parameter type when looking up coroutine_traits for member functions.

This patch was originally from Toby Allsopp, but I hijacked it and
fixed it up with his permission.

llvm-svn: 307513
clang/lib/Sema/SemaCoroutine.cpp
clang/test/SemaCXX/coroutines.cpp