@@ -552,7 +552,6 @@ default_reporter::report_local_function_type_changes(const function_type_diff& d
// this shouldn't be as straightforward.
// Report about the parameters that got removed.
- bool emitted = false;
for (vector<function_decl::parameter_sptr>::const_iterator i =
d.priv_->sorted_deleted_parms_.begin();
i != d.priv_->sorted_deleted_parms_.end();
@@ -561,13 +560,9 @@ default_reporter::report_local_function_type_changes(const function_type_diff& d
out << indent << "parameter " << (*i)->get_index()
<< " of type '" << (*i)->get_type_pretty_representation()
<< "' was removed\n";
- emitted = true;
}
- if (emitted)
- out << "\n";
// Report about the parameters that got added
- emitted = false;
for (vector<function_decl::parameter_sptr>::const_iterator i =
d.priv_->sorted_added_parms_.begin();
i != d.priv_->sorted_added_parms_.end();
@@ -576,11 +571,7 @@ default_reporter::report_local_function_type_changes(const function_type_diff& d
out << indent << "parameter " << (*i)->get_index()
<< " of type '" << (*i)->get_type_pretty_representation()
<< "' was added\n";
- emitted = true;
}
-
- if (emitted)
- out << "\n";
}
/// Build and emit a textual report about a @ref function_type_diff.
@@ -6,4 +6,3 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
[C] 'function int add(int, int)' has some indirect sub-type changes:
parameter 3 of type 'int' was added
-
@@ -8,4 +8,3 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
parameter 2 of type 'char' was added
parameter 3 of type 'int' was added
-
@@ -8,4 +8,3 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
parameter 2 of type 'char' was removed
parameter 3 of type 'int' was removed
-
@@ -9,25 +9,21 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
type size changed from 0 to 64 (in bits)
parameter 3 of type '...' was added
-
[C] 'function void fun2(const char*, ...)' has some indirect sub-type changes:
parameter 2 of type '...' changed:
entity changed from 'variadic parameter type' to 'const char*'
type size changed from 0 to 64 (in bits)
parameter 3 of type '...' was added
-
[C] 'function void fun3(const char*, const int*, ...)' has some indirect sub-type changes:
parameter 3 of type '...' changed:
entity changed from 'variadic parameter type' to 'const int*'
type size changed from 0 to 64 (in bits)
parameter 4 of type '...' was added
-
[C] 'function void fun4(const char*, const int*, ...)' has some indirect sub-type changes:
parameter 3 of type '...' changed:
entity changed from 'variadic parameter type' to 'const int*'
type size changed from 0 to 64 (in bits)
parameter 4 of type '...' was added
-
@@ -33,7 +33,6 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
type of 'int ()* S::fnptr0' changed:
in pointed to type 'function type int ()':
parameter 1 of type 'double' was added
-
type of 'int ()* S::fnptr1' changed:
in pointed to type 'function type int ()':
entity changed from 'function type int ()' to 'void'
@@ -34,7 +34,6 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
type of 'int ()& S::fnref0' changed:
in referenced type 'function type int ()':
parameter 1 of type 'double' was added
-
type of 'int ()& S::fnref1' changed:
in referenced type 'function type int ()':
entity changed from 'function type int ()' to 'int*'
@@ -14,7 +14,6 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
name of symbol changed from _ZN3STRD1Ev to _ZN3STRD2Ev
parameter 1 of type 'int' was removed
-
[C] 'function std::tuple<STR&&> my_forward_as_tuple<STR>(STR&&)' has some indirect sub-type changes:
return type changed:
type name changed from 'std::tuple<STR&&>' to 'std::tuple<STR &&>'
@@ -14,4 +14,3 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
name of 'one::Foo::a' changed to 'two::Foo::a'
parameter 2 of type 'u32' was added
-
@@ -1318,7 +1318,6 @@ Variable symbols changes summary: 0 Removed, 0 Added variable symbol not referen
type of 'void ()* InitTableEntry::func' changed:
in pointed to type 'function type void ()':
parameter 1 of type 'typedef MyoArena' was added
-
and name of 'InitTableEntry::func' changed to '__anonymous_struct__2::func'
[C] 'function int __offload_offload(OFFLOAD, const char*, int, int, VarDesc*, VarDesc2*, int, void**, void*, int, void*)' has some indirect sub-type changes:
@@ -1318,7 +1318,6 @@ Variable symbols changes summary: 0 Removed, 0 Added variable symbol not referen
type of 'void ()* InitTableEntry::func' changed:
in pointed to type 'function type void ()':
parameter 1 of type 'typedef MyoArena' was added
-
and name of 'InitTableEntry::func' changed to '__anonymous_struct__2::func' at offload_table.h:295:1
[C] 'function int __offload_offload(OFFLOAD, const char*, int, int, VarDesc*, VarDesc2*, int, void**, void*, int, void*)' at compiler_if_host.cpp:456:1 has some indirect sub-type changes:
@@ -1318,7 +1318,6 @@ Variable symbols changes summary: 0 Removed, 0 Added variable symbol not referen
type of 'void ()* InitTableEntry::func' changed:
in pointed to type 'function type void ()':
parameter 1 of type 'typedef MyoArena' was added
-
and name of 'InitTableEntry::func' changed to '__anonymous_struct__2::func' at offload_table.h:295:1
[C] 'function int __offload_offload(OFFLOAD, const char*, int, int, VarDesc*, VarDesc2*, int, void**, void*, int, void*)' at compiler_if_host.cpp:456:1 has some indirect sub-type changes:
@@ -234,7 +234,6 @@ Variable symbols changes summary: 0 Removed, 0 Added variable symbol not referen
type of 'void ()* InitTableEntry::func' changed:
in pointed to type 'function type void ()':
parameter 1 of type 'typedef MyoArena' was added
-
and name of 'InitTableEntry::func' changed to '__anonymous_struct__2::func'
[C] 'function int __offload_offload(OFFLOAD, const char*, int, int, VarDesc*, VarDesc2*, int, void**, void*, int, void*)' has some indirect sub-type changes: