This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Fix incorrect availability markup for bad_optional_access & friends
ClosedPublic

Authored by ldionne on Mar 15 2022, 1:31 PM.

Details

Summary

In 7fb40e1569d, I changed the availability for bad_optional_access and
friends from macOS 10.14 to 10.13 after conducting an investigation on
old dylibs. It turns out that macOS 10.13 did have bad_optional_access,
however the dylib on iOS didn't match the dylib on macOS, so those
exception classes were only introduced in iOS 12.

Thanks to Aditya Kumar for noticing this.

Diff Detail

Event Timeline

ldionne created this revision.Mar 15 2022, 1:31 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 15 2022, 1:31 PM
ldionne requested review of this revision.Mar 15 2022, 1:31 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 15 2022, 1:31 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
hiraditya accepted this revision.Mar 15 2022, 1:48 PM

LGTM, thanks for fixing it quickly.

ldionne accepted this revision.Mar 16 2022, 6:03 AM
This revision is now accepted and ready to land.Mar 16 2022, 6:03 AM