Skip to content

Add support for Clang availability replacement attribute #2837

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

slavapestov
Copy link
Contributor

rdar://problem/26301742

…cement="")))

We map clang::AvailabilityAttr::getReplacement() to
swift::AvailableAttr::Rename, transforming the replacement
name using by looking up the named Clang replacement, and
importing its name.

Fixes <rdar://problem/26301742>.
@slavapestov
Copy link
Contributor Author

@jrose-apple or @DougGregor, do you mind reviewing this for 3.0?

@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@jrose-apple
Copy link
Contributor

Looks good to me. Nice work!

@tkremenek tkremenek merged commit 30dbf22 into swiftlang:swift-3.0-preview-1-branch Jun 2, 2016
@slavapestov slavapestov deleted the clang-replacement-attr-3.0 branch June 9, 2016 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants