• Wouter van Oortmerssen's avatar
    Fixed namespace code generation for C++ · 20c0082e
    Wouter van Oortmerssen authored
    The code generator was assuming all declarations for the current
    file sit in the same namepace. Now uses the "on demand" namespace
    switching we had for the forward declarations.
    
    Also fixed a bug related to namespace lookup.
    
    Change-Id: Ib54a3efbc752cbb9590302fa0707c0c73448db3d
    Tested: on Linux.
    20c0082e
Name
Last commit
Last update
..
FlatBuffers.Test Loading commit data...
MyGame Loading commit data...
namespace_test Loading commit data...
prototest Loading commit data...
GoTest.sh Loading commit data...
JavaScriptTest.js Loading commit data...
JavaScriptTest.sh Loading commit data...
JavaTest.bat Loading commit data...
JavaTest.java Loading commit data...
JavaTest.sh Loading commit data...
PythonTest.sh Loading commit data...
generate_code.bat Loading commit data...
generate_code.sh Loading commit data...
go_test.go Loading commit data...
include_test1.fbs Loading commit data...
include_test2.fbs Loading commit data...
monster_test.bfbs Loading commit data...
monster_test.fbs Loading commit data...
monster_test_generated.h Loading commit data...
monster_test_generated.js Loading commit data...
monsterdata_python_wire.mon Loading commit data...
monsterdata_test.golden Loading commit data...
monsterdata_test.json Loading commit data...
monsterdata_test.mon Loading commit data...
phpTest.php Loading commit data...
py_test.py Loading commit data...
test.cpp Loading commit data...
unicode_test.json Loading commit data...