This is an archive of the discontinued LLVM Phabricator instance.

[NFC][libc++] Remove __unexpected namespace
ClosedPublic

Authored by yronglin on Jan 17 2023, 8:57 AM.

Details

Summary

Remove __unexpected namespace.

Diff Detail

Event Timeline

yronglin created this revision.Jan 17 2023, 8:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 17 2023, 8:57 AM
yronglin updated this revision to Diff 489860.Jan 17 2023, 9:39 AM

Fix expected.h

yronglin updated this revision to Diff 489869.Jan 17 2023, 10:12 AM

Fix unexpected.h

yronglin published this revision for review.Jan 17 2023, 11:57 AM
yronglin edited the summary of this revision. (Show Details)
yronglin added reviewers: philnik, huixie90, Mordante.
Herald added a project: Restricted Project. · View Herald TranscriptJan 17 2023, 11:57 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
philnik accepted this revision as: philnik.Jan 17 2023, 12:27 PM

LGTM % nit. @huixie90 are you OK with this?

libcxx/include/__expected/expected.h
84–86

These aren't ADL lookups. Same for the other changes.

LGTM % nit. @huixie90 are you OK with this?

LGTM

yronglin marked an inline comment as done.Jan 18 2023, 12:12 AM

Thanks for your review @philnik @huixie90 !

libcxx/include/__expected/expected.h
84–86

These aren't ADL lookups. Same for the other changes.

84–86

Good catch!

yronglin updated this revision to Diff 490064.Jan 18 2023, 12:40 AM
yronglin marked an inline comment as done.

Format

ldionne accepted this revision.Jan 23 2023, 5:32 PM
This revision is now accepted and ready to land.Jan 23 2023, 5:32 PM

Thanks for your review @ldionne !

This revision was landed with ongoing or failed builds.Jan 24 2023, 5:13 PM
This revision was automatically updated to reflect the committed changes.