• Adam Procter's avatar
    Add some convenience macros/classes for error messages (#1258) · deacf29a
    Adam Procter authored
    * Testing out some ideas for better error messages on AvgPool
    
    * Add uncaught_exception() check to ConstructionAssertLogger dtor
    
    * More general assertion class, not homed inside Node
    
    * Minor formatting change
    
    * NODE_ASSERT for type prop failure
    
    * Produce lighter-weight DummyAssertionHandler when assertion succeeds
    
    * New ctor for AssertionHelper that takes a single location arg; more const&-ness for the constructors
    
    * Remove move constructor for AssertionHelper; fix broken test in assertion.cpp
    
    * Miscellaneous improvements
    
    * Templatized AssertionHelper so different exception classes can be used; implemented TYPE_CHECK_ASSERT around this
    * Changed from a "stack" of locations to a single location (the stack was too complicated)
    * Added "FAIL" classes/macros which do not take a condition
    
    * Rename a helper function
    
    * Cleanup, cruft removal
    
    * Add test to make sure the assert helper has the lifetime we expect
    
    * Missing includes
    deacf29a
Name
Last commit
Last update
.ci/travis/ubuntu Loading commit data...
cmake Loading commit data...
contrib/docker Loading commit data...
doc Loading commit data...
licenses Loading commit data...
maint Loading commit data...
python Loading commit data...
src Loading commit data...
test Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.travis.yml Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIB.md Loading commit data...
INSTALL.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
VERSION.in Loading commit data...
changes.md Loading commit data...