mirror of
git://sourceware.org/git/libabigail.git
synced 2025-01-18 23:30:45 +00:00
2eb592169b
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>
25 lines
851 B
Plaintext
25 lines
851 B
Plaintext
Functions changes summary: 0 Removed, 0 Changed, 0 Added function
|
|
Variables changes summary: 0 Removed, 2 Changed, 0 Added variables
|
|
|
|
2 Changed variables:
|
|
|
|
[C] 'S0* var0' was changed:
|
|
type of variable changed:
|
|
in pointed to type 'struct S0':
|
|
type size changed from 32 to 64 (in bits)
|
|
1 data member insertion:
|
|
'char S0::inserted_member', at offset 0 (in bits)
|
|
1 data member change:
|
|
'int S0::m0' offset changed from 0 to 32 (in bits) (by +32 bits)
|
|
|
|
[C] 'S1* var1' was changed:
|
|
type of variable changed:
|
|
in pointed to type 'struct S1':
|
|
type size changed from 32 to 64 (in bits)
|
|
1 data member insertion:
|
|
'char S1::inserted_member', at offset 0 (in bits)
|
|
1 data member change:
|
|
'int S1::m0' offset changed from 0 to 32 (in bits) (by +32 bits)
|
|
|
|
|