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

Style: Replace typedef with using #102347

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Repiteo
Copy link
Contributor

@Repiteo Repiteo commented Feb 2, 2025

An previous core meeting touched on using replacing typedef for new code. This draft showcases a scenario where existing code is converted via the clang-tidy rule modernize-use-using. Does not convert any typedefs wrapped in extern "C" blocks, which had to be manually accounted for here but would be automatically excluded when migrating to clang 18. Does not touch any typedef struct or typedef enum implementations, as I'm not 100% sure on the nuances of those conversions & will want that clarified beforehand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants