This is an archive of the discontinued LLVM Phabricator instance.

[libc++][nfc] Improve standard conformance.
ClosedPublic

Authored by Mordante on Nov 16 2021, 7:05 AM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Commits
rGbfc253c00068: [libc++][nfc] Improve standard conformance.
Summary

The return type of the deleted functions doesn't match the synopsis in
the standard.

Diff Detail

Event Timeline

Mordante requested review of this revision.Nov 16 2021, 7:05 AM
Mordante created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptNov 16 2021, 7:05 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision.Nov 16 2021, 7:21 AM
This revision is now accepted and ready to land.Nov 16 2021, 7:21 AM
This revision was automatically updated to reflect the committed changes.

@Mordante: Seems harmless enough (ship it!) but for my information, do you know of any way for the user to detect this change? My impression is that the return type of a deleted function is completely unobservable.

@Mordante: Seems harmless enough (ship it!) but for my information, do you know of any way for the user to detect this change? My impression is that the return type of a deleted function is completely unobservable.

I don't know it's indeed undetectable by the user.
I just noticed the odd return type while looking at compiler errors while working on the float formatter. (Caused by me using the wrong lit version.)