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 #39451

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 facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 14, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. 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
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
@analysis-bot
Copy link

analysis-bot commented Sep 14, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,329,255 +10
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 9,567,997 -13
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 598b7ed
Branch: main

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
@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: 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: 94450c9d9e36e73252235138a53a78b8a1e0dddf
Differential Revision: D49269117

fbshipit-source-id: 6802a41c4b24e6056f7d5fcdc1701c513da2e36a
Differential Revision: D49269440

fbshipit-source-id: 022ba5c19bc0ccb8b81577428e865dfc5c4bf821
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
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: 24c18378cda3a90f5ff6c90c118d4e940eb261ef
@facebook-github-bot
Copy link
Contributor

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

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

Pull Request resolved: #1388

This converts usages of YGErrata to Errata

Reviewed By: rozele

Differential Revision: D49270354

fbshipit-source-id: 39c0d26a1609cca0a96da843796ab41c81e3af93
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in c64c26c.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Sep 15, 2023
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
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants