(Optionally) add an additional suffix namespace to generated fbs files. (#5698)
authorMichael Beardsworth <beardsworth@google.com>
Mon, 6 Jan 2020 18:00:59 +0000 (10:00 -0800)
committerWouter van Oortmerssen <aardappel@gmail.com>
Mon, 6 Jan 2020 18:00:59 +0000 (10:00 -0800)
commit21b7061963233fddc726a3dfb9a4131a4ce6cb0d
tree5a30cc578cdf31f429b6ab6471546e80e660fb89
parent35daaf83d334156749bb9f9b43ce96a1c86d529a
(Optionally) add an additional suffix namespace to generated fbs files. (#5698)

This change allows for the generation of fbs files (from proto) that
don't contain name collisions with the protobuf generated C++ code,
allowing both the proto and fbs message types to be linked into the same binary.
include/flatbuffers/idl.h
src/flatc.cpp
src/idl_gen_fbs.cpp
tests/BUILD
tests/prototest/test_suffix.golden [new file with mode: 0644]
tests/prototest/test_union_suffix.golden [new file with mode: 0644]
tests/test.cpp