Skip to content

[libSyntax] Don't store SynKind and TokKind as uint16_t #36773

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

Merged

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Apr 6, 2021

There is no point storing SynKind and TokKind as uint16_ts inside ParsedRawSyntaxNode. Instead, we can just use the enum class types that define them.

There is no point storing `SynKind` and `TokKind` as `uint16_t`s inside `ParsedRawSyntaxNode`. Instead, we can just use the `enum class` types that define them.
@ahoppen ahoppen requested a review from rintaro April 6, 2021 13:38
@ahoppen ahoppen changed the title [libSyntax] Don't store SynKind and TokKind as uint16_6 [libSyntax] Don't store SynKind and TokKind as uint16_t Apr 6, 2021
@swiftlang swiftlang deleted a comment from swift-ci Apr 7, 2021
@swiftlang swiftlang deleted a comment from swift-ci Apr 7, 2021
@ahoppen
Copy link
Member Author

ahoppen commented Apr 7, 2021

@swift-ci Please test

@ahoppen ahoppen merged commit a26e236 into swiftlang:main Apr 7, 2021
@ahoppen ahoppen deleted the pr/no-uint16-6-in-parsedrawsyntaxnode branch April 7, 2021 16:15
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.

2 participants