This is an archive of the discontinued LLVM Phabricator instance.

[coroutines] Do not attempt to typo-correct when coroutine is looking for required members
ClosedPublic

Authored by GorNishanov on Aug 24 2017, 11:35 AM.

Details

Summary

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

Diff Detail

Event Timeline

GorNishanov created this revision.Aug 24 2017, 11:35 AM

@rsmith , here is a fix for the funny diagnostics you mentioned.

modocache accepted this revision.Mar 27 2018, 10:19 AM

Excellent, thanks!

This revision is now accepted and ready to land.Mar 27 2018, 10:19 AM
GorNishanov closed this revision.Mar 28 2018, 8:29 PM

Fixed:
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@328663 91177308-0d34-0410-b5e6-96231b3b80d8