-
Notifications
You must be signed in to change notification settings - Fork 15.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ObjC] Add the concept of a closed enum.
- FieldDescriptor: - Add a new flag to mark when the enum on the field is closed (vs open). - Support computing the state for when generated sources predate the support. - EnumDescriptor: - Support passing flags to the descriptor creation, currently closed is the only new flag. - Add an isClosed property to expose the state of the enum. This does NOT update generation yet, allows things to be tested before the generation support is added. PiperOrigin-RevId: 488671606
- Loading branch information
1 parent
3a74266
commit 7bb699b
Showing
6 changed files
with
143 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.