Lines Matching defs:context

52 ///@par diff reporting and context
58 /// parameters that are conceptually part of the context of the diff.
59 /// That context is materialized by an instance of the @ref
67 /// context, so to speak.
919 /// Set the corpus diff relevant to this context.
926 /// Get the corpus diff for the current context.
928 /// @return the corpus diff of this context.
933 /// Getter for the first corpus of the corpus diff of the current context.
936 /// context, if no corpus diff is associated to the context.
946 /// context.
949 /// context, if no corpus diff is associated to the context.
958 /// Getter of the reporter to be used in this context.
960 /// @return the reporter to be used in this context.
975 /// Setter of the reporter to be used in this context.
977 /// @param r the reporter to be used in this context.
982 /// Tests if the current diff context already has a diff for two decls.
1001 /// Tests if the current diff context already has a diff for two types.
1014 /// Tests if the current diff context already has a given diff.
1023 /// Tests if the current diff context already has a given diff.
1194 /// the current context) and set the canonical diff node property of
1196 /// node has been registered to the diff context for the subjects of
1347 /// If the current context is instructed to filter out some categories
1349 /// nodes by using the filters held by the context.
1377 /// If the current context is instructed to filter out some categories
1379 /// by using the filters held by the context.
1410 /// existing set of suppressions specifications of the diff context.
1419 /// existing set of suppression specifications of the diff context.
1427 /// Set the flag that indicates if the diff using this context should
1431 /// using this context should show only leaf changes or not.
1442 /// Get the flag that indicates if the diff using this context should
1446 /// this context should show only leaf changes or not.
1451 /// Get the flag that indicates if the diff reports using this context
1461 /// Set the flag that indicates if diff reports using this context
1471 /// Get the flag that indicates if diff reports using this context
1480 /// Set the flag that indicates if diff reports using this context
1797 /// stream of the current context, for debugging purposes.
1809 /// output stream of the current context, for debugging purposes.
1849 /// @param ctxt the context of the diff. Note that this context
1893 /// context.
1910 /// for mode context.
1997 // Ensure 'd' is kept alive for the life time of the context of this
1999 context()->keep_diff_alive(d);
2003 // reference cycles. The reference to 'd' is held by the context of
2004 // this diff, thanks to the call to context()->keep_diff_alive(d)
2011 /// Getter of the context of the current diff.
2013 /// @return the context of the current diff.
2015 diff::context() const
2018 /// Setter of the context of the current diff.
2020 /// @param c the new context to set.
2022 diff::context(diff_context_sptr c)
2120 if (context()->visiting_a_node_twice_is_forbidden()
2121 && context()->diff_has_been_visited(this))
2131 context()->mark_diff_as_visited(this);
2148 context()->mark_diff_as_visited(this);
2160 context()->mark_diff_as_visited(this);
2166 context()->mark_diff_as_visited(this);
2317 /// "forbidden" by the context or not.
2340 /// are "forbidden" by the context or not.
2376 const suppressions_type& suppressions = context()->suppressions();
2472 /// @param ctxt the context of the diff. This object must stay alive
2535 /// @param ctxt the context of the diff. Note that this context
2586 context());
2642 context()->get_reporter()->report(*this, out, indent);
2651 /// @param ctxt the context of the diff.
2685 /// @param ctxt the diff context to use.
2718 /// @param ctxt the diff context to use.
2757 /// @param ctxt the context of the diff.
2780 /// @param ctxt the diff context to use.
3094 /// @param ctxt the diff context to use.
3124 /// @param ctxt the diff context to use.
3154 /// @param ctxt the diff context to use.
3224 /// @param ctxt the diff context to use.
3260 context());
3261 context()->keep_diff_alive(result);
3295 context()->get_reporter()->report(*this, out, indent);
3307 /// @param ctxt the diff context to use.
3340 /// @param ctxt the diff context to use.
3426 context()->get_reporter()->report(*this, out, indent);
3440 /// @param ctxt the diff context to use.
3477 /// @param ctxt the diff context to use.
3581 context()->get_reporter()->report(*this, out, indent);
3593 /// @param ctxt the diff context to use.
3625 /// @param ctxt the diff context to use.
3713 context()->get_reporter()->report(*this, out, indent);
3725 /// @param ctxt the diff context to use.
3757 /// @param ctxt the diff context to use.
3801 context());
3860 context()->get_reporter()->report(*this, out, indent);
3872 /// @param ctxt the diff context to use.
3987 /// @param ctxt the diff context to use.
4071 context()->get_reporter()->report(*this, out, indent);
4087 /// @param ctxt the diff context to use.
4498 compute_diff(j->second, d, context());
4706 compute_diff(old_dm, added_dm, context());
4749 compute_diff(old_dm, new_dm, context());
4810 compute_diff(j->second, d, context());
4837 /// @param ctxt the context of the diff.
5079 context()->get_reporter()->report(*this, out, indent);
5217 compute_diff(j->second, b, context());
5289 context());
5341 corpus_sptr f = context()->get_first_corpus(),
5342 s = context()->get_second_corpus();
5502 /// @param ctxt the diff context to use.
5646 context()->get_reporter()->report(*this, out, indent);
5660 /// @param ctxt the diff context to use.
5778 /// @param ctxt the context of the diff. Note that this context
5867 context()->get_reporter()->report(*this, out, indent);
5938 /// @param ctxt the context of the comparison.
5985 context()->get_reporter()->report(*this, out, indent);
5997 /// @param ctxt the context of the diff to use.
6168 compute_diff(j->second, decl, context());
6184 compute_diff(j->second, decl, context());
6270 /// @param ctxt the diff context to use. Note that this context
6476 context()->get_reporter()->report(*this, out, indent);
6495 /// @param ctxt the diff context to use.
6511 d->context(ctxt);
6526 /// @param ctxt the diff context to use.
6550 /// @param ctxt the context of the diff. Note that this context
6643 context()->get_reporter()->report(*this, out, indent);
6669 /// @param ctxt the context of the diff.
6695 context());
6736 compute_diff(k->second, parm, context());
6750 compute_diff(k->second, parm, context());
6814 /// @param ctxt the diff context to be used by the newly created
6815 /// instance of function_type_diff. Note that this context object
6924 context()->get_reporter()->report(*this, out, indent);
6962 /// @param ctxt the diff context to use.
7018 /// @param ctxt the context of the diff. Note that this context
7090 context()->get_reporter()->report(*this, out, indent);
7102 /// @param ctxt the diff context to use.
7141 /// @param ctxt the context of the diff. Note that this context
7209 context()->get_reporter()->report(*this, out, indent);
7230 /// @param ctxt the diff context to use.
7275 /// @param ctxt the context of the diff. Note that this context
7368 context()->get_reporter()->report(*this, out, indent);
7380 /// @param ctxt the diff context to use.
7437 /// @param ctxt the context of the diff. Note that this context
7495 /// @param ctxt the diff context to use. If null, this function will
7496 /// create a new context and set to the diff object returned.
7813 /// @param ctxt the context of the corpus diff. Note that this
7814 /// context object must stay alive at least during the life time of
8725 /// Getter of the context associated with this corpus.
8727 /// @return a smart pointer to the context associate with the corpus.
9188 /// @param ctxt the context of the current diff.
9215 /// @param ctxt the context of the current diff.
10285 /// @param ctxt the diff context to use. Note that this context
10345 context()->keep_diff_alive(d);
10355 context()->keep_diff_alive(d);
10562 /// Getter of the diff context of this diff
10564 /// @return the diff context for this diff.
10566 corpus_diff::context() const
10679 {return context()->get_reporter()->diff_has_net_changes(this);}
10708 priv_->diff_stats_.reset(new diff_stats(context()));
10777 diff_context_sptr ctxt = d->context();
10806 if (!context()->show_leaf_changes_only())
10810 context()->forget_visited_diffs();
10811 bool s = context()->visiting_a_node_twice_is_forbidden();
10812 context()->forbid_visiting_a_node_twice(true);
10813 context()->forbid_visiting_a_node_twice_per_interface(true);
10815 context()->forbid_visiting_a_node_twice(s);
10816 context()->forbid_visiting_a_node_twice_per_interface(false);
10846 context()->get_reporter()->report(*this, out, indent);
10874 const diff_context_sptr &ctxt = context();
10896 const diff_context_sptr &ctxt = context();
10922 const diff_context_sptr &ctxt = context();
10947 /// @param ctxt the diff context to use.
11035 /// @param ctxt the diff context to use.
11356 bool already_visited = d->context()->diff_has_been_visited(d);
11413 bool s = diff_tree->context()->visiting_a_node_twice_is_forbidden();
11414 diff_tree->context()->forbid_visiting_a_node_twice(true);
11415 diff_tree->context()->forget_visited_diffs();
11417 diff_tree->context()->forbid_visiting_a_node_twice(s);
11440 bool s = diff_tree->context()->visiting_a_node_twice_is_forbidden();
11441 diff_tree->context()->forbid_visiting_a_node_twice(false);
11443 diff_tree->context()->forbid_visiting_a_node_twice(s);
11677 /// the context. If the suppression applies to a given node than
11685 if (diff_tree && !diff_tree->context()->suppressions().empty())
11690 diff_tree->context()->forget_visited_diffs();
11691 bool s = diff_tree->context()->visiting_a_node_twice_is_forbidden();
11692 diff_tree->context()->forbid_visiting_a_node_twice(true);
11694 diff_tree->context()->forbid_visiting_a_node_twice(s);
11699 /// the context. If the suppression applies to a given node than
11709 /// by the context. If the suppression applies to a given node then
11717 if (diff_tree && !diff_tree->context()->suppressions().empty())
11723 diff_tree->context()->forget_visited_diffs();
11724 bool s = diff_tree->context()->visiting_a_node_twice_is_forbidden();
11725 diff_tree->context()->forbid_visiting_a_node_twice(true);
11727 diff_tree->context()->forbid_visiting_a_node_twice(s);
11738 /// context. If the suppression applies to a given node than
11859 bool s = diff_tree->context()->visiting_a_node_twice_is_forbidden();
11860 diff_tree->context()->forbid_visiting_a_node_twice(false);
11862 diff_tree->context()->forbid_visiting_a_node_twice(s);
11877 bool s = diff_tree->context()->visiting_a_node_twice_is_forbidden();
11878 diff_tree->context()->forbid_visiting_a_node_twice(false);
11880 diff_tree->context()->forbid_visiting_a_node_twice(s);
11934 if ((d->context()->diff_has_been_visited(d)
12012 && d->context()->diff_has_been_visited(d) != d
12186 if (diff_tree->context()->show_redundant_changes())
12189 bool s = diff_tree->context()->visiting_a_node_twice_is_forbidden();
12190 diff_tree->context()->forbid_visiting_a_node_twice(false);
12192 diff_tree->context()->forbid_visiting_a_node_twice(s);
12211 diff_tree->context()->forget_visited_diffs();
12212 bool s = diff_tree->context()->visiting_a_node_twice_is_forbidden();
12213 diff_tree->context()->forbid_visiting_a_node_twice(false);
12215 diff_tree->context()->forbid_visiting_a_node_twice(s);
12236 bool s = diff_tree->context()->visiting_a_node_twice_is_forbidden();
12237 diff_tree->context()->forbid_visiting_a_node_twice(false);
12239 diff_tree->context()->forbid_visiting_a_node_twice(s);
12240 diff_tree->context()->forget_visited_diffs();
12259 bool s = diff_tree->context()->visiting_a_node_twice_is_forbidden();
12260 diff_tree->context()->forbid_visiting_a_node_twice(false);
12262 diff_tree->context()->forbid_visiting_a_node_twice(s);
12263 diff_tree->context()->forget_visited_diffs();
12275 /// context of the a given @ref corpus_diff tree. As a result, the
12284 diff_tree->context()->maybe_apply_filters(diff_tree);