[coroutines] Do not attempt to typo-correct when coroutine is looking for required...
authorGor Nishanov <GorNishanov@gmail.com>
Tue, 27 Mar 2018 20:38:19 +0000 (20:38 +0000)
committerGor Nishanov <GorNishanov@gmail.com>
Tue, 27 Mar 2018 20:38:19 +0000 (20:38 +0000)
commitd4507266c8c8f1bd99f7d3fcb86989cda2e16066
tree7bfbb1ad932a0dcebe4fa988d650988f42884189
parentab068eaa5779ae59afc640e12d75985075af4321
[coroutines] Do not attempt to typo-correct when coroutine is looking for required members

When SemaCoroutine looks for await_resume, it means it. No need for helpful: "Did you mean await_ready?" messages.

Fixes PR33477 and a couple of FIXMEs in test/SemaCXX/coroutines.cpp

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