libabigail/tests/data/test-diff-dwarf/test35-pr19173-libfoo-long-gcc-report-0.txt
Giuliano Procida 2eb592169b Output 2-space indentation consistently.
abidiff emits hierarchical difference information using 2-space
indentation, almost everywhere.

In a few places, long lines are split up and 1-space is used for
clarity. Otherwise 1-space indentation appears to be only used when
reporting:

    - data member changes (not additions or removals)
    - the change of the type of a variable

This patch resolves these inconsistencies in favour of 2-space
indentation.

	* src/abg-default-reporter.cc (report): In the
	class_or_union_diff override, use 2-space indentation when
        listing changed members. In the var_diff override, do the same
        for variable type changes.
	* src/abg-leaf-reporter.cc: Ditto.
        * tests/data/test-*/*report*.txt: Update many test cases.

Signed-off-by: Giuliano Procida <gprocida@google.com>
2020-03-16 22:39:35 +01:00

14 lines
448 B
Plaintext

Functions changes summary: 0 Removed, 0 Changed, 0 Added function
Variables changes summary: 0 Removed, 1 Changed, 0 Added variable
1 Changed variable:
[C] 'char buggy_symbol[5]' was changed to 'char buggy_symbol[10]':
size of symbol changed from 5 to 10
type of variable changed:
type name changed from 'char[5]' to 'char[10]'
array type size changed from 40 to 80
array type subrange 1 changed length from 5 to 10