This is an archive of the discontinued LLVM Phabricator instance.

[clang] WIP: Implement simpler alternative to two-phase lookup for NRVO
Needs ReviewPublic

Authored by mizvekov on Apr 6 2021, 5:27 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

WIP, not ready for review.

Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>

Diff Detail

Event Timeline

mizvekov created this revision.Apr 6 2021, 5:27 PM
mizvekov requested review of this revision.Apr 6 2021, 5:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 6 2021, 5:27 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
mizvekov retitled this revision from [clang] WIP: Implement simpler alternative to two-phase lookup for NRVO WIP, not ready for review. to [clang] WIP: Implement simpler alternative to two-phase lookup for NRVO.
mizvekov edited the summary of this revision. (Show Details)
mizvekov updated this revision to Diff 339035.Apr 20 2021, 4:24 PM

Initial implementation, still WIP.

mizvekov updated this revision to Diff 355393.Jun 29 2021, 4:16 PM

Patch now in workable state. Is Missing a few cleanups in the implementation.

Updates coroutine implicit move tests, as now they can finally match C++20 behavior and don't need P2266 retroactively applied.

There are some test result changes.
These all match current GCC behaviour though: We are now broken in the same way as GCC is for these.
TBD what to do about these. The ambiguous overload resolution one might be easy to solve,
the other ones have to be studied more carefully.