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