This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] Don't make availability attributes imply default visibility on macos
ClosedPublic

Authored by erik.pilkington on Aug 1 2017, 2:20 PM.

Details

Summary

Previously, the presence of __attribute__((availability(macos, ...))) on a declaration caused clang to make the vis of that decl implicitly default. This is a hack that is incomparable with how we're treating availability attributes now, and should be removed.

Thanks for taking a look!
Erik

Diff Detail

Repository
rL LLVM

Event Timeline

erik.pilkington created this revision.Aug 1 2017, 2:20 PM
arphaman accepted this revision.Aug 2 2017, 3:28 AM

LGTM. Please document this change in the release notes.

This revision is now accepted and ready to land.Aug 2 2017, 3:28 AM
thakis edited edge metadata.Aug 2 2017, 9:14 AM

Awesome, thanks! Maybe mention the PR# for this in the commit message.

thakis added a comment.Aug 4 2017, 7:22 AM

Is landing this blocked on internal testing?

This revision was automatically updated to reflect the committed changes.
thakis added a comment.Feb 7 2018, 7:31 AM

What's the status here?

thakis added a comment.Feb 7 2018, 7:33 AM

Err sorry, landed in rL310382.