8sa1-binutils-gdb/gdb/unittests
Tom Tromey 0dfe5bfbb7 Don't create empty literal pieces
I noticed that format_pieces can create an empty literal piece.
However, there's never a need for one, so this patch removes the
possibility.

gdb/ChangeLog
2019-10-01  Tom Tromey  <tom@tromey.com>

	* unittests/format_pieces-selftests.c: Update.  Add final format.
	* gdbsupport/format.c (format_pieces::format_pieces): Don't add
	empty literal pieces.
2019-10-01 15:12:37 -06:00
..
basic_string_view
optional
array-view-selftests.c
child-path-selftests.c
cli-utils-selftests.c
common-utils-selftests.c
copy_bitwise-selftests.c
environ-selftests.c
format_pieces-selftests.c Don't create empty literal pieces 2019-10-01 15:12:37 -06:00
function-view-selftests.c
help-doc-selftests.c Add a selftest that checks documentation invariants. 2019-08-07 00:05:34 +02:00
lookup_name_info-selftests.c
memory-map-selftests.c
memrange-selftests.c
mkdir-recursive-selftests.c
observable-selftests.c
offset-type-selftests.c
optional-selftests.c
parse-connection-spec-selftests.c
ptid-selftests.c
rsp-low-selftests.c
scoped_fd-selftests.c
scoped_mmap-selftests.c
scoped_restore-selftests.c
string_view-selftests.c
style-selftests.c
tracepoint-selftests.c
unpack-selftests.c
utils-selftests.c
xml-utils-selftests.c