Files
binutils-gdb/gdb/common
Simon Marchi d5f4488f09 Add selftests for range_contains and insert_into_bit_range_vector
Add some selftests for these two functions.  To to make it easier to
compare sequences of ranges, add operator== and operator!= to compare
two gdb::array_view, and add operator== in struct range.

gdb/ChangeLog:

	* value.c: Include "selftest.h" and "common/array-view.h".
	(struct range) <operator ==>: New.
	(test_ranges_contain): New.
	(check_ranges_vector): New.
	(test_insert_into_bit_range_vector): New.
	(_initialize_values): Register selftests.
	* common/array-view.h (operator==, operator!=): New.
2018-04-09 15:47:12 -04:00
..
2018-02-28 11:34:39 -05:00
2018-04-09 14:20:46 -04:00
2018-04-09 14:20:46 -04:00
2018-03-02 23:22:10 -05:00
2018-03-19 09:37:49 -06:00
2018-02-09 14:03:18 +01:00
2018-02-09 14:03:19 +01:00
2018-02-26 11:46:57 +00:00