mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
14bbbdcecc
Summary: X-link: https://github.com/facebook/yoga/pull/1384 Pull Request resolved: https://github.com/facebook/react-native/pull/39446 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 Reviewed By: rozele Differential Revision: D49267996 fbshipit-source-id: 1c41164c377b317c1fef97811c46cbc00b5a837e