A framework for building native applications using React
Strip `__deprecated_msg` in the preprocessing (#55970)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55970
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]
Reviewed By: cipolleschi
Differential Revision: D95541064
fbshipit-source-id: 08aca2eb5ed8b1897166d385ab513879e7ecbad7 D
Dawid Małecki committed
0686cde779ca39c0180a8ad2558cdd6612f1fea1
Parent: 7d45ea8
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com>
on 3/6/2026, 4:09:48 PM