This is an archive of the discontinued LLVM Phabricator instance.

[coroutines] Add diagnostics for copy/move assignment operators and functions with deduced return types.
ClosedPublic

Authored by EricWF on Oct 5 2016, 3:16 PM.

Diff Detail

Event Timeline

EricWF updated this revision to Diff 73699.Oct 5 2016, 3:16 PM
EricWF retitled this revision from to [Coroutines] Add diagnostics for copy/move assignment operators and functions with deduced return types..
EricWF updated this object.
EricWF added reviewers: rsmith, GorNishanov.
EricWF added a subscriber: cfe-commits.
EricWF updated this revision to Diff 73704.Oct 5 2016, 4:06 PM

Diagnose a coroutine main function in the same way as other invalid contexts.

GorNishanov retitled this revision from [Coroutines] Add diagnostics for copy/move assignment operators and functions with deduced return types. to [coroutines] Add diagnostics for copy/move assignment operators and functions with deduced return types..Oct 5 2016, 5:04 PM
majnemer added inline comments.
lib/Sema/SemaCoroutine.cpp
193

auto *

EricWF updated this revision to Diff 73715.Oct 5 2016, 5:51 PM
  • Address @majnemer's comment about using auto.
EricWF marked an inline comment as done.Oct 5 2016, 5:51 PM
rsmith accepted this revision.Oct 27 2016, 12:35 AM
rsmith edited edge metadata.
This revision is now accepted and ready to land.Oct 27 2016, 12:35 AM
EricWF updated this revision to Diff 76076.Oct 27 2016, 11:42 AM
EricWF edited edge metadata.

Resolved merge conflicts.

EricWF closed this revision.Oct 27 2016, 11:52 AM