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

Render deprecation notices #184

Open
keynmol opened this issue Apr 6, 2023 · 0 comments
Open

Render deprecation notices #184

keynmol opened this issue Apr 6, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@keynmol
Copy link
Contributor

keynmol commented Apr 6, 2023

On symbols that we can place deprecation notices on (struct fields, functions), we should render them as @deprecated.

This information is encoded in the CXAvailabilityKind enum.

To get that information for any cursor, one can use getCursorAvailability and in our bindings: https://github.com/indoorvivants/sn-bindgen/blob/main/modules/libclang/src/main/scala/generated/libclang/functions.scala#L4834

@keynmol keynmol added the enhancement New feature or request label Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant