Lines Matching refs:dif

680   if (const class_or_union_diff *dif = is_class_or_union_diff(d))
681 if (dif->first_class_or_union()->get_is_anonymous())
682 return dif;
1098 diff_sptr dif(const_cast<diff*>(d), noop_deleter());
1099 add_diff(d->first_subject(), d->second_subject(), dif);
3575 /// @param out the output stream to serialize the dif to.
3707 /// @param out the output stream to serialize the dif to.
7723 /// @param dif the new diff node to insert into the @ref diff_maps.
7727 /// dif. In other words, this is the interface impacted by the diff
7728 /// node @p dif. Note that this can be nil in cases where we are
7735 diff_maps::insert_diff_node(const diff *dif,
7738 string n = get_pretty_representation(dif->first_subject(),
7740 if (const type_decl_diff *d = is_diff_of_basic_type(dif))
7742 else if (const enum_diff *d = is_enum_diff(dif))
7744 else if (const class_diff *d = is_class_diff(dif))
7746 else if (const union_diff *d = is_union_diff(dif))
7748 else if (const typedef_diff *d = is_typedef_diff(dif))
7750 else if (const array_diff *d = is_array_diff(dif))
7752 else if (const reference_diff *d = is_reference_diff(dif))
7754 else if (const fn_parm_diff *d = is_fn_parm_diff(dif))
7756 else if (const function_type_diff *d = is_function_type_diff(dif))
7758 else if (const var_diff *d = is_var_diff(dif))
7760 else if (const function_decl_diff *d = is_function_decl_diff(dif))
7762 else if (const distinct_diff *d = is_distinct_diff(dif))
7764 else if (is_base_diff(dif))
7776 priv_->impacted_artifacts_map_.find(dif);
7782 priv_->impacted_artifacts_map_[dif] = set;
11179 diff_node_visitor::visit(distinct_diff* dif, bool pre)
11181 diff* d = dif;
11191 diff_node_visitor::visit(var_diff* dif, bool pre)
11193 diff* d = dif;
11203 diff_node_visitor::visit(pointer_diff* dif, bool pre)
11205 diff* d = dif;
11215 diff_node_visitor::visit(reference_diff* dif, bool pre)
11217 diff* d = dif;
11227 diff_node_visitor::visit(qualified_type_diff* dif, bool pre)
11229 diff* d = dif;
11239 diff_node_visitor::visit(enum_diff* dif, bool pre)
11241 diff* d = dif;
11251 diff_node_visitor::visit(class_diff* dif, bool pre)
11253 diff* d = dif;
11263 diff_node_visitor::visit(base_diff* dif, bool pre)
11265 diff* d = dif;
11275 diff_node_visitor::visit(scope_diff* dif, bool pre)
11277 diff* d = dif;
11287 diff_node_visitor::visit(function_decl_diff* dif, bool pre)
11289 diff* d = dif;
11299 diff_node_visitor::visit(type_decl_diff* dif, bool pre)
11301 diff* d = dif;
11311 diff_node_visitor::visit(typedef_diff* dif, bool pre)
11313 diff* d = dif;
11323 diff_node_visitor::visit(translation_unit_diff* dif, bool pre)
11325 diff* d = dif;
12382 /// @param dif the dif node to consider.
12384 /// @return the underlying diff node of @p dif, or just return @p dif
12387 peel_typedef_diff(const diff* dif)
12390 while ((d = is_typedef_diff(dif)))
12391 dif = d->underlying_type_diff().get();
12392 return dif;
12401 /// @param dif the dif node to consider.
12403 /// @return the underlying diff node of @p dif, or just return @p dif
12406 peel_pointer_diff(const diff* dif)
12409 while ((d = is_pointer_diff(dif)))
12410 dif = d->underlying_type_diff().get();
12411 return dif;
12421 /// @param dif the dif node to consider.
12423 /// @return the underlying diff node of @p dif, or just return @p dif
12426 peel_reference_diff(const diff* dif)
12429 while ((d = is_reference_diff(dif)))
12430 dif = d->underlying_type_diff().get();
12431 return dif;
12441 /// @param dif the dif node to consider.
12443 /// @return the underlying diff node of @p dif, or just return @p dif
12446 peel_qualified_diff(const diff* dif)
12449 while ((d = is_qualified_type_diff(dif)))
12450 dif = d->underlying_type_diff().get();
12451 return dif;
12457 /// @param dif the dif node to consider.
12461 peel_fn_parm_diff(const diff* dif)
12464 while ((d = is_fn_parm_diff(dif)))
12465 dif = d->type_diff().get();
12466 return dif;
12477 /// @param dif the dif node to consider.
12479 /// @return the underlying diff node of @p dif, or just return @p dif
12482 peel_pointer_or_qualified_type_diff(const diff*dif)
12486 if (const pointer_diff *d = is_pointer_diff(dif))
12487 dif = peel_pointer_diff(d);
12488 else if (const reference_diff *d = is_reference_diff(dif))
12489 dif = peel_reference_diff(d);
12490 else if (const qualified_type_diff *d = is_qualified_type_diff(dif))
12491 dif = peel_qualified_diff(d);
12495 return dif;
12506 /// @param dif the dif node to consider.
12508 /// @return the underlying diff node of @p dif, or just return @p dif
12511 peel_typedef_or_qualified_type_diff(const diff *dif)
12515 if (const typedef_diff *d = is_typedef_diff(dif))
12516 dif = peel_typedef_diff(d);
12517 else if (const qualified_type_diff *d = is_qualified_type_diff(dif))
12518 dif = peel_qualified_diff(d);
12522 return dif;
12533 /// @param dif the dif node to consider.
12537 peel_typedef_qualified_type_or_parameter_diff(const diff *dif)
12541 if (const typedef_diff *d = is_typedef_diff(dif))
12542 dif = peel_typedef_diff(d);
12543 else if (const qualified_type_diff *d = is_qualified_type_diff(dif))
12544 dif = peel_qualified_diff(d);
12545 else if (const fn_parm_diff *d = is_fn_parm_diff(dif))
12546 dif = peel_fn_parm_diff(d);
12550 return dif;