Skip to content

Strip __deprecated_msg in the preprocessing#55970

Closed
coado wants to merge 1 commit intofacebook:mainfrom
coado:export-D95541064
Closed

Strip __deprecated_msg in the preprocessing#55970
coado wants to merge 1 commit intofacebook:mainfrom
coado:export-D95541064

Conversation

@coado
Copy link
Contributor

@coado coado commented Mar 6, 2026

Summary:
Strips __deprecated_msg annotations due to incorrect parsing when in front of the interfaces (predefining does not help unfortunately). It doesn't fully solve the issue stated in the added test as doxygen also has problem with parsing interfaces for which the base class is in the new line.

interface Foo
           : Bar<NSObject>
end

This will be handled by the fix in the doxygen.

This diff also adds stripping the __deprecated label which is again incorrectly parsed by doxygen.

Changelog:
[Internal]

Differential Revision: D95541064

Summary:
Strips `__deprecated_msg` annotations due to incorrect parsing when in front of the interfaces (predefining does not help unfortunately). It doesn't fully solve the issue stated in the added test as doxygen also has problem with parsing interfaces for which the base class is in the new line.

```
interface Foo
           : Bar<NSObject>
end
```

This will be handled by the fix in the doxygen.

This diff also adds stripping the `__deprecated` label which is again incorrectly parsed by doxygen.


Changelog:
[Internal]

Differential Revision: D95541064
@meta-cla meta-cla 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 Mar 6, 2026
@meta-codesync
Copy link

meta-codesync bot commented Mar 6, 2026

@coado has exported this pull request. If you are a Meta employee, you can view the originating Diff in D95541064.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @coado in 0686cde

When will my fix make it into a release? | How to file a pick request?

@react-native-bot react-native-bot added the Merged This PR has been merged. label Mar 6, 2026
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. meta-exported p: Facebook Partner: Facebook p: Software Mansion Partner: Software Mansion Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants