/// Abstraction of a function suppression specification.
///
/// Specifies under which condition reports about a @ref
-/// function_decl_diff diff node should be dropped on the floor the
-/// purpose of reporting.
+/// function_decl_diff diff node should be dropped on the floor for
+/// the purpose of reporting.
class function_suppression : public suppression_base
{
class priv;
///
/// @param diff the diff node to test.
///
-/// @return true if the @p diff is about differences between types.
+/// @return a pointer to the actual type_diff_base* that @p diff extends, iff it is
+/// about differences between types.
static const type_diff_base*
is_type_diff(const diff* diff)
{return dynamic_cast<const type_diff_base*>(diff);}
/// Read a vector of suppression specifications from the sections of
/// an ini::config.
///
-/// Note that each time a new kind of suppression specification is
-/// added, this function needs to be updated.
+/// Note that this function needs to be updated each time a new kind
+/// of suppression specification is added.
///
/// @param config the config to read from.
///
/// Sets a flag saying if a report has already been emitted for the
/// current diff.
///
-/// @param f true if a repot has already been emitted for the
+/// @param f true if a report has already been emitted for the
/// current diff, false otherwise.
void
diff::reported_once(bool f) const
/// Reports the difference between the two subjects of the diff in a
/// serialized form.
///
-/// @param out the output stream to emit the repot to.
+/// @param out the output stream to emit the report to.
///
/// @param indent the indentation string to use.
void