libabigail
|
This type contains maps. Each map associates a type name to a diff of that type. Not all kinds of diffs are present; only those that carry leaf changes are, for now. More...
#include <abg-comparison.h>
Public Member Functions | |
diff_maps () | |
Default constructor of the diff_maps type. More... | |
string_diff_ptr_map & | get_array_diff_map () |
Getter of the map that contains array type diffs. More... | |
const string_diff_ptr_map & | get_array_diff_map () const |
Getter of the map that contains array type diffs. More... | |
string_diff_ptr_map & | get_class_diff_map () |
Getter of the map that contains class type diffs. More... | |
const string_diff_ptr_map & | get_class_diff_map () const |
Getter of the map that contains class type diffs. More... | |
string_diff_ptr_map & | get_distinct_diff_map () |
Getter of the map that contains distinct diffs. More... | |
const string_diff_ptr_map & | get_distinct_diff_map () const |
Getter of the map that contains distinct diffs. More... | |
string_diff_ptr_map & | get_enum_diff_map () |
Getter of the map that contains enum type diffs. More... | |
const string_diff_ptr_map & | get_enum_diff_map () const |
Getter of the map that contains enum type diffs. More... | |
string_diff_ptr_map & | get_fn_parm_diff_map () |
Getter of the map that contains function parameter diffs. More... | |
const string_diff_ptr_map & | get_fn_parm_diff_map () const |
Getter of the map that contains function parameter diffs. More... | |
string_diff_ptr_map & | get_function_decl_diff_map () |
Getter of the map that contains function decl diffs. More... | |
const string_diff_ptr_map & | get_function_decl_diff_map () const |
Getter of the map that contains function decl diffs. More... | |
string_diff_ptr_map & | get_function_type_diff_map () |
Getter of the map that contains function type diffs. More... | |
const string_diff_ptr_map & | get_function_type_diff_map () const |
Getter of the map that contains function type diffs. More... | |
string_diff_ptr_map & | get_reference_diff_map () |
Getter of the map that contains reference type diffs. More... | |
const string_diff_ptr_map & | get_reference_diff_map () const |
Getter of the map that contains reference type diffs. More... | |
string_diff_ptr_map & | get_subrange_diff_map () |
Getter of the map that contains subrange type diffs. More... | |
const string_diff_ptr_map & | get_subrange_diff_map () const |
Getter of the map that contains subrange type diffs. More... | |
string_diff_ptr_map & | get_type_decl_diff_map () |
Getter of the map that contains basic type diffs. More... | |
const string_diff_ptr_map & | get_type_decl_diff_map () const |
Getter of the map that contains basic type diffs. More... | |
string_diff_ptr_map & | get_typedef_diff_map () |
Getter of the map that contains typedef type diffs. More... | |
const string_diff_ptr_map & | get_typedef_diff_map () const |
Getter of the map that contains typedef type diffs. More... | |
string_diff_ptr_map & | get_union_diff_map () |
Getter of the map that contains union type diffs. More... | |
const string_diff_ptr_map & | get_union_diff_map () const |
Getter of the map that contains union type diffs. More... | |
string_diff_ptr_map & | get_var_decl_diff_map () |
Getter of the map that contains var decl diffs. More... | |
const string_diff_ptr_map & | get_var_decl_diff_map () const |
Getter of the map that contains var decl diffs. More... | |
bool | insert_diff_node (const diff *d, const type_or_decl_base_sptr &impacted_iface) |
Insert a new diff node into the current instance of diff_maps. More... | |
artifact_sptr_set_type * | lookup_impacted_interfaces (const diff *d) const |
Lookup the interfaces that are impacted by a given leaf diff node. More... | |
This type contains maps. Each map associates a type name to a diff of that type. Not all kinds of diffs are present; only those that carry leaf changes are, for now.
Definition at line 506 of file abg-comparison.h.
diff_maps | ( | ) |
Default constructor of the diff_maps type.
Definition at line 8272 of file abg-comparison.cc.
string_diff_ptr_map & get_array_diff_map | ( | ) |
Getter of the map that contains array type diffs.
Definition at line 8373 of file abg-comparison.cc.
const string_diff_ptr_map & get_array_diff_map | ( | ) | const |
Getter of the map that contains array type diffs.
Definition at line 8366 of file abg-comparison.cc.
string_diff_ptr_map & get_class_diff_map | ( | ) |
Getter of the map that contains class type diffs.
Definition at line 8317 of file abg-comparison.cc.
const string_diff_ptr_map & get_class_diff_map | ( | ) | const |
Getter of the map that contains class type diffs.
Definition at line 8310 of file abg-comparison.cc.
string_diff_ptr_map & get_distinct_diff_map | ( | ) |
Getter of the map that contains distinct diffs.
Definition at line 8457 of file abg-comparison.cc.
const string_diff_ptr_map & get_distinct_diff_map | ( | ) | const |
Getter of the map that contains distinct diffs.
Definition at line 8450 of file abg-comparison.cc.
string_diff_ptr_map & get_enum_diff_map | ( | ) |
Getter of the map that contains enum type diffs.
Definition at line 8303 of file abg-comparison.cc.
const string_diff_ptr_map & get_enum_diff_map | ( | ) | const |
Getter of the map that contains enum type diffs.
Definition at line 8296 of file abg-comparison.cc.
string_diff_ptr_map & get_fn_parm_diff_map | ( | ) |
Getter of the map that contains function parameter diffs.
Definition at line 8401 of file abg-comparison.cc.
const string_diff_ptr_map & get_fn_parm_diff_map | ( | ) | const |
Getter of the map that contains function parameter diffs.
Definition at line 8394 of file abg-comparison.cc.
string_diff_ptr_map & get_function_decl_diff_map | ( | ) |
Getter of the map that contains function decl diffs.
Definition at line 8429 of file abg-comparison.cc.
const string_diff_ptr_map & get_function_decl_diff_map | ( | ) | const |
Getter of the map that contains function decl diffs.
Definition at line 8422 of file abg-comparison.cc.
string_diff_ptr_map & get_function_type_diff_map | ( | ) |
Getter of the map that contains function type diffs.
Definition at line 8415 of file abg-comparison.cc.
const string_diff_ptr_map & get_function_type_diff_map | ( | ) | const |
Getter of the map that contains function type diffs.
Definition at line 8408 of file abg-comparison.cc.
string_diff_ptr_map & get_reference_diff_map | ( | ) |
Getter of the map that contains reference type diffs.
Definition at line 8387 of file abg-comparison.cc.
const string_diff_ptr_map & get_reference_diff_map | ( | ) | const |
Getter of the map that contains reference type diffs.
Definition at line 8380 of file abg-comparison.cc.
string_diff_ptr_map & get_subrange_diff_map | ( | ) |
Getter of the map that contains subrange type diffs.
Definition at line 8359 of file abg-comparison.cc.
const string_diff_ptr_map & get_subrange_diff_map | ( | ) | const |
Getter of the map that contains subrange type diffs.
Definition at line 8352 of file abg-comparison.cc.
string_diff_ptr_map & get_type_decl_diff_map | ( | ) |
Getter of the map that contains basic type diffs.
Definition at line 8289 of file abg-comparison.cc.
const string_diff_ptr_map & get_type_decl_diff_map | ( | ) | const |
Getter of the map that contains basic type diffs.
Definition at line 8282 of file abg-comparison.cc.
string_diff_ptr_map & get_typedef_diff_map | ( | ) |
Getter of the map that contains typedef type diffs.
Definition at line 8345 of file abg-comparison.cc.
const string_diff_ptr_map & get_typedef_diff_map | ( | ) | const |
Getter of the map that contains typedef type diffs.
Definition at line 8338 of file abg-comparison.cc.
string_diff_ptr_map & get_union_diff_map | ( | ) |
Getter of the map that contains union type diffs.
Definition at line 8331 of file abg-comparison.cc.
const string_diff_ptr_map & get_union_diff_map | ( | ) | const |
Getter of the map that contains union type diffs.
Definition at line 8324 of file abg-comparison.cc.
string_diff_ptr_map & get_var_decl_diff_map | ( | ) |
Getter of the map that contains var decl diffs.
Definition at line 8443 of file abg-comparison.cc.
const string_diff_ptr_map & get_var_decl_diff_map | ( | ) | const |
Getter of the map that contains var decl diffs.
Definition at line 8436 of file abg-comparison.cc.
bool insert_diff_node | ( | const diff * | dif, |
const type_or_decl_base_sptr & | impacted_iface | ||
) |
Insert a new diff node into the current instance of diff_maps.
dif | the new diff node to insert into the diff_maps. |
impacted_iface | the interface (global function or variable) currently being analysed that led to analysing the diff node dif . In other words, this is the interface impacted by the diff node dif . Note that this can be nil in cases where we are directly analysing changes to a type that is not reachable from any global function or variable. |
Definition at line 8474 of file abg-comparison.cc.
artifact_sptr_set_type * lookup_impacted_interfaces | ( | const diff * | d | ) | const |
Lookup the interfaces that are impacted by a given leaf diff node.
d | the diff node to consider. |
d
. Definition at line 8538 of file abg-comparison.cc.