This is an archive of the discontinued LLVM Phabricator instance.

Stop modifying trailing return types.
ClosedPublic

Authored by rsmith on Mar 30 2023, 3:40 PM.

Details

Summary

This change reverts the functional change from D144626 but retains its
test. Instead of dealing with the possibility that a trailing requires
clause might have been rewritten into some other incorrect form, just
stop rewriting it.

No functionality changes intended.

Diff Detail

Event Timeline

rsmith created this revision.Mar 30 2023, 3:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2023, 3:41 PM
rsmith requested review of this revision.Mar 30 2023, 3:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2023, 3:41 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
erichkeane accepted this revision.Mar 30 2023, 4:01 PM

I think this makes sense to me, so LGTM. But please give @ChuanqiXu a chance to look/ask questions.

This revision is now accepted and ready to land.Mar 30 2023, 4:01 PM
ChuanqiXu accepted this revision.Mar 30 2023, 9:28 PM

Thanks! It looks much better indeed.

This revision was automatically updated to reflect the committed changes.
thakis added a subscriber: thakis.Apr 25 2023, 11:29 AM

Looks like this caused a change in behavior: https://github.com/llvm/llvm-project/issues/62361