[C++ ] Correctly serialize bit_flags enums to JSON with output_enum_identifiers optio...
authorll-antn <42381407+ll-antn@users.noreply.github.com>
Thu, 1 Aug 2019 21:16:44 +0000 (00:16 +0300)
committerWouter van Oortmerssen <aardappel@gmail.com>
Thu, 1 Aug 2019 21:16:44 +0000 (14:16 -0700)
commit7de1a5e347c2acf13519d162fd39ed89a7a42669
tree061d55e474461bd193fd6f2d98213841edc2c851
parenta4e3ad808ebcfc171ef52d1e4a27b474a05f51a2
[C++ ] Correctly serialize bit_flags enums to JSON with output_enum_identifiers option (#5454)

* Support output_enum_identifiers for enums with multiple bit values

* Cast bit_flag enum val to uint64_t instead of int64_t
src/idl_gen_text.cpp
tests/test.cpp