Lines Matching refs:ctxt

1849 /// @param ctxt the context of the diff.  Note that this context
1854 diff_context_sptr ctxt)
1856 ctxt, NO_CHANGE_CATEGORY,
2455 diff_context_sptr ctxt)
2456 : diff(first_subject, second_subject, ctxt),
2472 /// @param ctxt the context of the diff. This object must stay alive
2477 diff_context_sptr ctxt)
2478 : diff(first_subject, second_subject, ctxt),
2535 /// @param ctxt the context of the diff. Note that this context
2541 diff_context_sptr ctxt)
2542 : diff(first, second, ctxt),
2651 /// @param ctxt the context of the diff.
2658 diff_context_sptr ctxt)
2663 distinct_diff_sptr result(new distinct_diff(first, second, ctxt));
2665 ctxt->initialize_canonical_diff(result);
2685 /// @param ctxt the diff context to use.
2694 diff_context_sptr ctxt)
2703 return compute_diff(f, s, ctxt);
2718 /// @param ctxt the diff context to use.
2723 diff_context_sptr ctxt)
2746 return compute_diff(f, s, ctxt);
2757 /// @param ctxt the context of the diff.
2764 diff_context_sptr ctxt)
2765 {return compute_diff_for_distinct_kinds(first, second, ctxt);}
2780 /// @param ctxt the diff context to use.
2787 const diff_context_sptr& ctxt)
2794 ((d = try_to_diff<type_decl>(f, s, ctxt))
2795 ||(d = try_to_diff<enum_type_decl>(f, s, ctxt))
2796 ||(d = try_to_diff<union_decl>(f, s,ctxt))
2797 ||(d = try_to_diff<class_decl>(f, s,ctxt))
2798 ||(d = try_to_diff<pointer_type_def>(f, s, ctxt))
2799 ||(d = try_to_diff<reference_type_def>(f, s, ctxt))
2800 ||(d = try_to_diff<array_type_def>(f, s, ctxt))
2801 ||(d = try_to_diff<qualified_type_def>(f, s, ctxt))
2802 ||(d = try_to_diff<typedef_decl>(f, s, ctxt))
2803 ||(d = try_to_diff<function_type>(f, s, ctxt))
2804 ||(d = try_to_diff_distinct_kinds(f, s, ctxt)));
3094 /// @param ctxt the diff context to use.
3100 diff_context_sptr ctxt)
3105 ((d = try_to_diff<function_decl>(first, second, ctxt))
3106 || (d = try_to_diff<var_decl>(first, second, ctxt))
3107 || (d = try_to_diff_distinct_kinds(first, second, ctxt)));
3124 /// @param ctxt the diff context to use.
3131 diff_context_sptr ctxt)
3138 d = compute_diff_for_types(first, second, ctxt);
3140 d = compute_diff_for_decls(first, second, ctxt);
3154 /// @param ctxt the diff context to use.
3161 diff_context_sptr ctxt)
3166 diff_sptr d = compute_diff_for_types(f,s, ctxt);
3224 /// @param ctxt the diff context to use.
3228 diff_context_sptr ctxt)
3229 : decl_diff_base(first, second, ctxt),
3307 /// @param ctxt the diff context to use.
3313 diff_context_sptr ctxt)
3315 var_diff_sptr d(new var_diff(first, second, diff_sptr(), ctxt));
3316 ctxt->initialize_canonical_diff(d);
3340 /// @param ctxt the diff context to use.
3344 diff_context_sptr ctxt)
3345 : type_diff_base(first, second, ctxt),
3440 /// @param ctxt the diff context to use.
3444 diff_context_sptr ctxt)
3448 ctxt);
3449 pointer_diff_sptr result(new pointer_diff(first, second, d, ctxt));
3450 ctxt->initialize_canonical_diff(result);
3477 /// @param ctxt the diff context to use.
3481 diff_context_sptr ctxt)
3482 : type_diff_base(first, second, ctxt),
3593 /// @param ctxt the diff context to use.
3597 diff_context_sptr ctxt)
3601 ctxt);
3602 array_diff_sptr result(new array_diff(first, second, d, ctxt));
3603 ctxt->initialize_canonical_diff(result);
3625 /// @param ctxt the diff context to use.
3629 diff_context_sptr ctxt)
3630 : type_diff_base(first, second, ctxt),
3725 /// @param ctxt the diff context to use.
3729 diff_context_sptr ctxt)
3733 ctxt);
3734 reference_diff_sptr result(new reference_diff(first, second, d, ctxt));
3735 ctxt->initialize_canonical_diff(result);
3757 /// @param ctxt the diff context to use.
3761 diff_context_sptr ctxt)
3762 : type_diff_base(first, second, ctxt),
3872 /// @param ctxt the diff context to use.
3876 diff_context_sptr ctxt)
3880 ctxt);
3882 d, ctxt));
3883 ctxt->initialize_canonical_diff(result);
3987 /// @param ctxt the diff context to use.
3991 const diff_context_sptr ctxt)
3992 : type_diff_base(first, second, ctxt),
4087 /// @param ctxt the diff context to use.
4091 diff_context_sptr ctxt)
4095 ctxt);
4096 enum_diff_sptr d(new enum_diff(first, second, ud, ctxt));
4106 ctxt->initialize_canonical_diff(d);
4315 (const diff_context_sptr& ctxt)
4318 diff_category allowed_category = ctxt->get_allowed_category();
4338 ctxt->maybe_apply_filters(diff);
4354 (const diff_context_sptr& ctxt)
4357 diff_category allowed_category = ctxt->get_allowed_category();
4369 diff_sptr diff = compute_diff_for_decls(f, s, ctxt);
4370 ctxt->maybe_apply_filters(diff);
4387 (const diff_context_sptr& ctxt)
4390 diff_category allowed_category = ctxt->get_allowed_category();
4402 diff_sptr diff = compute_diff_for_decls(f, s, ctxt);
4403 ctxt->maybe_apply_filters(diff);
4837 /// @param ctxt the context of the diff.
4840 diff_context_sptr ctxt)
4841 : type_diff_base(first_scope, second_scope, ctxt)
5502 /// @param ctxt the diff context to use.
5505 diff_context_sptr ctxt)
5506 : class_or_union_diff(first_scope, second_scope, ctxt)
5660 /// @param ctxt the diff context to use.
5664 diff_context_sptr ctxt)
5669 class_diff_sptr changes(new class_diff(f, s, ctxt));
5671 ctxt->initialize_canonical_diff(changes);
5674 if (!ctxt->get_canonical_diff_for(first, second))
5678 diff_sptr canonical_diff = ctxt->get_canonical_diff_for(changes);
5680 ctxt->set_canonical_diff_for(first, second, canonical_diff);
5778 /// @param ctxt the context of the diff. Note that this context
5785 diff_context_sptr ctxt)
5786 : diff(first, second, ctxt),
5880 /// @param ctxt the content of the diff.
5886 diff_context_sptr ctxt)
5890 ctxt);
5891 base_diff_sptr changes(new base_diff(first, second, cl, ctxt));
5893 ctxt->initialize_canonical_diff(changes);
5938 /// @param ctxt the context of the comparison.
5941 diff_context_sptr ctxt)
5942 : class_or_union_diff(first_union, second_union, ctxt)
5997 /// @param ctxt the context of the diff to use.
6001 diff_context_sptr ctxt)
6003 union_diff_sptr changes(new union_diff(first, second, ctxt));
6005 ctxt->initialize_canonical_diff(changes);
6270 /// @param ctxt the diff context to use. Note that this context
6276 diff_context_sptr ctxt)
6277 : diff(first_scope, second_scope, ctxt),
6495 /// @param ctxt the diff context to use.
6500 diff_context_sptr ctxt)
6511 d->context(ctxt);
6526 /// @param ctxt the diff context to use.
6532 diff_context_sptr ctxt)
6534 scope_diff_sptr d(new scope_diff(first_scope, second_scope, ctxt));
6535 d = compute_diff(first_scope, second_scope, d, ctxt);
6536 ctxt->initialize_canonical_diff(d);
6550 /// @param ctxt the context of the diff. Note that this context
6556 diff_context_sptr ctxt)
6557 : decl_diff_base(first, second, ctxt),
6563 ctxt);
6669 /// @param ctxt the context of the diff.
6675 diff_context_sptr ctxt)
6680 fn_parm_diff_sptr result(new fn_parm_diff(first, second, ctxt));
6681 ctxt->initialize_canonical_diff(result);
6814 /// @param ctxt the diff context to be used by the newly created
6821 diff_context_sptr ctxt)
6822 : type_diff_base(first, second, ctxt),
6962 /// @param ctxt the diff context to use.
6968 diff_context_sptr ctxt)
6976 function_type_diff_sptr result(new function_type_diff(first, second, ctxt));
6986 ctxt->initialize_canonical_diff(result);
7018 /// @param ctxt the context of the diff. Note that this context
7024 diff_context_sptr ctxt)
7025 : decl_diff_base(first, second, ctxt),
7102 /// @param ctxt the diff context to use.
7108 diff_context_sptr ctxt)
7118 ctxt);
7121 ctxt));
7126 ctxt->initialize_canonical_diff(result);
7141 /// @param ctxt the context of the diff. Note that this context
7147 diff_context_sptr ctxt)
7148 : type_diff_base(first, second, ctxt)
7230 /// @param ctxt the diff context to use.
7236 diff_context_sptr ctxt)
7238 type_decl_diff_sptr result(new type_decl_diff(first, second, ctxt));
7247 ctxt->initialize_canonical_diff(result);
7275 /// @param ctxt the context of the diff. Note that this context
7282 diff_context_sptr ctxt)
7283 : type_diff_base(first, second, ctxt),
7380 /// @param ctxt the diff context to use.
7386 diff_context_sptr ctxt)
7390 ctxt);
7391 typedef_diff_sptr result(new typedef_diff(first, second, d, ctxt));
7393 ctxt->initialize_canonical_diff(result);
7437 /// @param ctxt the context of the diff. Note that this context
7443 diff_context_sptr ctxt)
7444 : scope_diff(first->get_global_scope(), second->get_global_scope(), ctxt),
7495 /// @param ctxt the diff context to use. If null, this function will
7502 diff_context_sptr ctxt)
7506 if (!ctxt)
7507 ctxt.reset(new diff_context);
7511 ctxt));
7517 ctxt);
7519 ctxt->initialize_canonical_diff(tu_diff);
7813 /// @param ctxt the context of the corpus diff. Note that this
7817 corpus_diff::diff_stats::diff_stats(diff_context_sptr ctxt)
7818 : priv_(new priv(ctxt))
7843 if (priv_->ctxt() && !priv_->ctxt()->show_deleted_fns())
7889 if (priv_->ctxt() && !priv_->ctxt()->show_added_fns())
8001 if (priv_->ctxt() && !priv_->ctxt()->show_deleted_vars())
8049 if (priv_->ctxt() && !priv_->ctxt()->show_added_vars())
8149 if (priv_->ctxt()
8150 && !priv_->ctxt()->show_symbols_unreferenced_by_debug_info())
8207 if (priv_->ctxt()
8208 && !(priv_->ctxt()->show_added_symbols_unreferenced_by_debug_info()
8209 && priv_->ctxt()->show_symbols_unreferenced_by_debug_info()))
8266 if (priv_->ctxt()
8267 && !priv_->ctxt()->show_symbols_unreferenced_by_debug_info())
8324 if (priv_->ctxt()
8325 && !(priv_->ctxt()->show_added_symbols_unreferenced_by_debug_info()
8326 && priv_->ctxt()->show_symbols_unreferenced_by_debug_info()))
8766 diff_context_sptr ctxt = get_context();
8811 function_decl_diff_sptr d = compute_diff(f, s, ctxt);
8915 changed_vars_map_[n] = compute_diff(f, s, ctxt);
9159 diff_sptr d = compute_diff(old_type, new_type, ctxt);
9188 /// @param ctxt the context of the current diff.
9197 const diff_context_sptr ctxt)
9202 return fn_suppr->suppresses_function(fn, k, ctxt);
9215 /// @param ctxt the context of the current diff.
9224 const diff_context_sptr ctxt)
9229 return var_suppr->suppresses_variable(var, k, ctxt);
9238 diff_context_sptr ctxt = get_context();
9240 const suppressions_type& suppressions = ctxt->suppressions();
9254 ctxt))
9263 ctxt))
9273 ctxt))
9283 ctxt))
9302 if (type_suppr->suppresses_type(c, ctxt))
9316 if (type_suppr->suppresses_type(c, ctxt))
9326 if (type_suppr->suppresses_type(e->second, ctxt))
9335 if (type_suppr->suppresses_type(e->second, ctxt))
9348 ctxt))
9357 ctxt))
9367 ctxt))
9377 ctxt))
9744 diff_context_sptr ctxt = get_context();
9755 ctxt->maybe_apply_filters(diff);
9765 ctxt->maybe_apply_filters(diff);
9776 ctxt->maybe_apply_filters(diff);
9919 diff_context_sptr ctxt = get_context();
9921 if (ctxt->show_leaf_changes_only())
9993 else // if (ctxt->show_leaf_changes_only())
10050 if (ctxt->show_unreachable_types())
10085 if (ctxt->show_symbols_unreferenced_by_debug_info()
10093 if (!ctxt->show_added_symbols_unreferenced_by_debug_info()
10121 if (!ctxt->show_added_symbols_unreferenced_by_debug_info()
10156 diff_context_sptr ctxt = get_context();
10158 ctxt->forget_visited_diffs();
10217 diff_context_sptr ctxt = get_context();
10219 if (!ctxt->dump_diff_tree()
10220 || ctxt->error_output_stream() == 0)
10225 *ctxt->error_output_stream() << "changed functions diff tree: \n\n";
10232 print_diff_tree(d, *ctxt->error_output_stream());
10238 *ctxt->error_output_stream() << "\nchanged variables diff tree: \n\n";
10245 print_diff_tree(d, *ctxt->error_output_stream());
10251 *ctxt->error_output_stream() << "\nchanged unreachable "
10259 print_diff_tree(d, *ctxt->error_output_stream());
10285 /// @param ctxt the diff context to use. Note that this context
10291 diff_context_sptr ctxt)
10292 : priv_(new priv(first, second, ctxt))
10777 diff_context_sptr ctxt = d->context();
10778 const corpus_diff *corpus_diff_node = ctxt->get_corpus_diff().get();
10874 const diff_context_sptr &ctxt = context();
10875 if (ctxt->visiting_a_node_twice_is_forbidden_per_interface())
10876 ctxt->forget_visited_diffs();
10896 const diff_context_sptr &ctxt = context();
10897 if (ctxt->visiting_a_node_twice_is_forbidden_per_interface())
10898 ctxt->forget_visited_diffs();
10922 const diff_context_sptr &ctxt = context();
10923 if (ctxt->visiting_a_node_twice_is_forbidden_per_interface())
10924 ctxt->forget_visited_diffs();
10947 /// @param ctxt the diff context to use.
10953 diff_context_sptr ctxt)
10963 if (!ctxt)
10964 ctxt.reset(new diff_context);
10966 corpus_diff_sptr r(new corpus_diff(f, s, ctxt));
10968 ctxt->set_corpus_diff(r);
10970 if(ctxt->show_soname_change())
11009 if (ctxt->show_unreachable_types())
11035 /// @param ctxt the diff context to use.
11041 diff_context_sptr ctxt)
11047 return compute_diff(c1, c2, ctxt);