sapling/thrift/annotation
Satish Kumar da492cce6a In preparation for the addition of a compiler check for reserved identifier names in Thrift IDL, add the annotation to allow the use of the reserved identifier names.
Summary:
In addition to reserved words, Thrift reserves all identifiers that contain the case-insensitive substring `fbthrift`. Such identifiers require users to explicitly annotate the usage with `thrift.AllowReservedIdentifierName`, and may result in undefined behavior.

Implementation notes:
In a subsequent change, the Thrift compiler will return an error when it encounters any identifier name that violates the above restriction unless the identifier is annotated with `thrift.AllowReservedIdentifierName`.

Reviewed By: praihan

Differential Revision: D58202161

fbshipit-source-id: df6033cfe99594041a7be71f2310c80205b65261
2024-06-26 09:05:14 -07:00
..
compat.thrift Re-sync with internal repository 2024-02-21 21:16:37 -05:00
cpp.thrift Remove cpp.StrongType annotation 2024-05-31 07:44:11 -07:00
go.thrift Re-sync with internal repository 2024-02-21 21:16:37 -05:00
hack.thrift Re-sync with internal repository 2024-02-21 21:16:37 -05:00
internal.thrift Re-sync with internal repository 2024-02-21 21:16:37 -05:00
java.thrift Re-sync with internal repository 2024-02-21 21:16:37 -05:00
python.thrift Re-sync with internal repository 2024-02-21 21:16:37 -05:00
rust.thrift @rust.Serde {enabled = ...} structured annotation 2024-06-04 13:46:21 -07:00
scope.thrift Re-sync with internal repository 2024-02-21 21:16:37 -05:00
thrift.thrift In preparation for the addition of a compiler check for reserved identifier names in Thrift IDL, add the annotation to allow the use of the reserved identifier names. 2024-06-26 09:05:14 -07:00