Fixes #7345 to add the option to minify enums (#7566)

* Added cpp minified enums

* Update generated files

* remove initializer and fix comma

* Fix .gitignore

* Fix comma

* Add tests for cpp minify enums
This commit is contained in:
RishabhDeep Singh
2022-11-11 10:17:28 +05:30
committed by GitHub
parent 83e7a98f69
commit 879622fc57
6 changed files with 225 additions and 187 deletions

View File

@@ -0,0 +1,3 @@
enum Color : int {Red = 1, Blue, Orange}
enum Size: int {Small = 10, Large = 100, Medium = 1000}