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

C++ style enums 4/N: Errata #1388

Closed
wants to merge 4 commits into from

Conversation

NickGerleman
Copy link
Contributor

Summary: This converts usages of YGErrata to Errata

Differential Revision: D49270354

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D49270354

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 14, 2023
Summary:
Pull Request resolved: facebook#39451

X-link: facebook/yoga#1388

This converts usages of YGErrata to Errata

Differential Revision: D49270354

fbshipit-source-id: 94c4474933e2b67838abf829029bb1eea4a893f7
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D49270354

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Sep 14, 2023
Summary:
X-link: facebook/react-native#39451

Pull Request resolved: facebook#1388

This converts usages of YGErrata to Errata

Differential Revision: D49270354

fbshipit-source-id: 994e2266e19c22c9db30a80733d1ab696d03ead8
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D49270354

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Sep 15, 2023
Summary:
X-link: facebook/react-native#39451

Pull Request resolved: facebook#1388

This converts usages of YGErrata to Errata

Reviewed By: rozele

Differential Revision: D49270354

fbshipit-source-id: d1ba4c38ca0dfd2c2d04b11e76a4313f7fcfd54c
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 15, 2023
Summary:
Pull Request resolved: facebook#39451

X-link: facebook/yoga#1388

This converts usages of YGErrata to Errata

Reviewed By: rozele

Differential Revision: D49270354

fbshipit-source-id: d73c73396574f982fe0cbc2e61f812ec4846d629
NickGerleman and others added 4 commits September 14, 2023 20:50
Summary:
This adds logic to the enum generator to generate C++ style scoped enums.

This gives us a few nicities over C enums, even if both must exist:
1. We can add types and keep unsgined enums directly in bitfields
2. Style/readability
3. Avoiding implicit int conversion

Differential Revision: D49267996

fbshipit-source-id: aaf1f16ccf474d83f59d4b24ebb4021ef29408fb
Differential Revision: D49269117

fbshipit-source-id: f631ad8d597f940757e4d701eeea1471be544c95
Differential Revision: D49269440

fbshipit-source-id: f237b985ef8954d8777bc5a5f3315d35078e6eda
Summary:
X-link: facebook/react-native#39451

Pull Request resolved: facebook#1388

This converts usages of YGErrata to Errata

Reviewed By: rozele

Differential Revision: D49270354

fbshipit-source-id: 24c18378cda3a90f5ff6c90c118d4e940eb261ef
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D49270354

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 15, 2023
Summary:
Pull Request resolved: facebook#39451

X-link: facebook/yoga#1388

This converts usages of YGErrata to Errata

Reviewed By: rozele

Differential Revision: D49270354

fbshipit-source-id: 82b09244f683ebc1a06b672b6d887a38c2d8f94b
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 6f5eaef.

facebook-github-bot pushed a commit to facebook/react-native that referenced this pull request Sep 15, 2023
Summary:
Pull Request resolved: #39451

X-link: facebook/yoga#1388

This converts usages of YGErrata to Errata

Reviewed By: rozele

Differential Revision: D49270354

fbshipit-source-id: 39c0d26a1609cca0a96da843796ab41c81e3af93
facebook-github-bot pushed a commit to facebook/litho that referenced this pull request Sep 15, 2023
Summary:
X-link: facebook/react-native#39451

X-link: facebook/yoga#1388

This converts usages of YGErrata to Errata

Reviewed By: rozele

Differential Revision: D49270354

fbshipit-source-id: 39c0d26a1609cca0a96da843796ab41c81e3af93
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