Skip to content
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

Extracting attributes #214

Open
esad opened this issue May 30, 2016 · 1 comment
Open

Extracting attributes #214

esad opened this issue May 30, 2016 · 1 comment

Comments

@esad
Copy link

esad commented May 30, 2016

I tried adding support for parsing attributes defined via __attribute__ in ObjC in order to mark unavailable/deprecated methods in Jazzy.

While I can get the attributes by processing the CXCursor_UnexposedAttr cursors, those seem not to include any information such as attribute name/value, only the original declaration, without macros expanded.

Can someone with more Clang know-how explain what would be the best way to expand those declarations and correctly process the attribute declarations.

P.S. I also briefly looked into SourceKit support for @available in Swift. The version shipping with Xcode 7.3.1 seems to emit only the entry with attribute name, without other parameters :(

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

No branches or pull requests

2 participants