Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56220
Changelog: [Internal]
Conversion operators like `operator jsi::Array` contain a type reference in their name that was not being fully qualified.
This diff adds a `_qualify_conversion_operator_type` step to `FunctionMember.close()` that detects conversion operators and qualifies the type portion of the name using the same mechanism already used for return types and arguments.
Reviewed By: cipolleschi
Differential Revision: D98124781
fbshipit-source-id: 7baf2b6f31fcbf2fdab43457b5792558d774b043
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56076
Changelog: [Internal]
Updates the C++ API snapshot generator to extract specializations from name when a member is created, instead of relying on the one stored in the name string.
It also makes out-of-class definitions of members to be skipped in the snapshot as those were essentially duplicated between their declaration inside the class, and the initialization outside of it.
Reviewed By: cipolleschi
Differential Revision: D96303740
fbshipit-source-id: d649cb04bd7370af55ce707d607a372d7b4115b4