]> granicus.if.org Git - clang/commit
[coroutines] Fix unused warning on result of co_yield.
authorEric Fiselier <eric@efcs.ca>
Tue, 27 Mar 2018 03:33:06 +0000 (03:33 +0000)
committerEric Fiselier <eric@efcs.ca>
Tue, 27 Mar 2018 03:33:06 +0000 (03:33 +0000)
commit9a41408814f37f4f864fb3e57aa01919b4d871d8
tree49ad3ea4eec2afbbb1d3837396bb2ae2fa2e7fba
parent41f066c74f234c1144f25ad1837a03c238c6de20
[coroutines] Fix unused warning on result of co_yield.

This patch follows up on r328602, which fixed the spurious unused
result warning for `co_await`.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@328607 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Expr.cpp
test/SemaCXX/coroutines.cpp