Add static asserts to ensure that reflection API arrays are kept in sync (#5934)
authorLaurentiu Cristofor <laurentiu.cristofor@outlook.com>
Tue, 2 Jun 2020 16:50:56 +0000 (09:50 -0700)
committerGitHub <noreply@github.com>
Tue, 2 Jun 2020 16:50:56 +0000 (09:50 -0700)
commitd026e6f071b3664e278c7373a69fa68d6c4e1183
tree3e12dfdef812fb9fbf020128a400e9ee89e0562d
parent988164f6e1675bbea9c852e2d6001baf4d1fcf59
Add static asserts to ensure that reflection API arrays are kept in sync (#5934)

* Add static asserts to ensure that reflection API arrays are kept in sync

* Move changes from generated file into source fbs file

* Rename enum value and regenerate reflection_generated.h

* Add comments to each entries of type sizes array
include/flatbuffers/reflection.h
include/flatbuffers/reflection_generated.h
reflection/reflection.fbs