out << " of type '"
<< f->get_type_pretty_representation()
<< "' changed:\n";
- d.type_diff()->report(out, indent);
+ d.type_diff()->report(out, indent + " ");
}
/// Report the changes carried by a @ref function_type_diff node.
[C] 'function void fn1(sto1)' at test-leaf3-v1.c:10:1 has some sub-type changes:
parameter 1 of type 'struct sto1' changed:
- type name changed from 'sto1' to 'stn1'
- type size hasn't changed
+ type name changed from 'sto1' to 'stn1'
+ type size hasn't changed
[C] 'function void fn2(sto2)' at test-leaf3-v1.c:13:1 has some sub-type changes:
parameter 1 of type 'struct sto2' changed:
- type name changed from 'sto2' to 'stn2'
- type size changed from 64 to 128 (in bits)
- 1 data member insertion:
- 'double stn2::y', at offset 64 (in bits) at test-leaf3-v1.c:7:1
+ type name changed from 'sto2' to 'stn2'
+ type size changed from 64 to 128 (in bits)
+ 1 data member insertion:
+ 'double stn2::y', at offset 64 (in bits) at test-leaf3-v1.c:7:1
[C] 'function void fn3(sto1*)' at test-leaf3-v1.c:16:1 has some sub-type changes:
parameter 1 of type 'sto1*' changed:
- pointer type changed from: 'sto1*' to: 'stn1*'
+ pointer type changed from: 'sto1*' to: 'stn1*'
[C] 'function void fn4(sto2*)' at test-leaf3-v1.c:19:1 has some sub-type changes:
parameter 1 of type 'sto2*' changed:
- pointer type changed from: 'sto2*' to: 'stn2*'
+ pointer type changed from: 'sto2*' to: 'stn2*'