Commit Graph

11 Commits

Author SHA1 Message Date
Michael Tautschnig 7c445677be CATCH: silence Visual Studio warnings
Wrap catch.hpp in a custom header use_catch.h that silences warnings, and make
all files use that header file instead.
2019-01-21 20:49:28 +00:00
Fotis Koutoulakis df616e4e1a Add well-formedness checks for symbols.
Add a method that checks a symbol for structural validity
according to some predetermined rule, and add it as an
extra rule for symbol-table validity that each symbol is
well-formed.
2018-12-18 15:45:05 +00:00
Michael Tautschnig 283bdbc621
Merge pull request #3187 from chrisr-diffblue/check-symbol-table-mappings
Check symbol table mappings
2018-11-12 14:13:37 +00:00
Chris Ryder 0f18b68965 Add validity checks for symbol table mappings 2018-11-12 11:23:37 +00:00
Michael Tautschnig 6990e03e07 Do not shadow the "result" variable and fix one use of it
result2 was never used, although it was meant to be tested for. Renamed it to
result_add_2 (and result_add_1) instead to make it clearer and more obvious.
2018-11-10 21:15:35 +00:00
Michael Tautschnig d8a55bc38d Do not shadow local variables in symbol_table test
symbol and symbol_name were redefined and re-used in several ways.
2018-11-10 14:36:32 +00:00
Michael Tautschnig f4ac10d26c Silence warning about unused local symbol
This is intentional in this test.
2018-11-10 12:30:31 +00:00
Matthias Güdemann d430ddc887 Replace copyright notice with author entry 2018-03-09 16:02:09 +01:00
Kurt Degiorgio 807268e6f4 Fixes the symbol_base_tablet iterator
The iterator for symbol_base_tablet had a missing operator overload
which prevented range-based loops from working

Commit also adds a unit-test
2018-02-08 16:09:34 +00:00
Nathan Phillips a2b45e3763 Update to journalling symbol table
Split a common base class out to reduce impact of usage sites
2017-11-15 10:31:40 +00:00
Chris Smowton c3c24e2d98 Add symbol table writer
This wraps a symbol table, providing an interface matching its write side
(but not type-compatible, to avoid implicit casts between the two), and
journals modifcations such that callers can determine what changes were made
by code using this wrapper to add, update and remove symbols
2017-10-18 18:07:24 +01:00