FreeBSD/contrib/gcc/cp/error.c
/* Dump a scope, if deemed necessary.  */
Dump a scope, if deemed necessary.
Dump a scope if deemed necessary .
static void
dump_scope (tree scope, int flags)
{
  int f = ~TFF_RETURN_TYPE & (flags & (TFF_SCOPE | TFF_CHASE_TYPEDEF));
  if (scope == NULL_TREE)
    return;
  if (TREE_CODE (scope) == NAMESPACE_DECL)
    {
      if (scope != global_namespace)
	{
	  dump_decl (scope, f);
	  pp_cxx_colon_colon (cxx_pp);
	}
    }
  else if (AGGREGATE_TYPE_P (scope))
    {
      dump_type (scope, f);
      pp_cxx_colon_colon (cxx_pp);
    }
  else if ((flags & TFF_SCOPE) && TREE_CODE (scope) == FUNCTION_DECL)
    {
      dump_function_decl (scope, f);
      pp_cxx_colon_colon (cxx_pp);
    }
}
static void dump_scope ( tree scope , int flags ) { int f = ~ TFF_RETURN_TYPE & ( flags & ( TFF_SCOPE | TFF_CHASE_TYPEDEF ) ) ; if ( scope == NULL_TREE ) return ; if ( TREE_CODE ( scope ) == NAMESPACE_DECL ) { if ( scope != global_namespace ) { dump_decl ( scope , f ) ; pp_cxx_colon_colon ( cxx_pp ) ; } } else if ( AGGREGATE_TYPE_P ( scope ) ) { dump_type ( scope , f ) ; pp_cxx_colon_colon ( cxx_pp ) ; } else if ( ( flags & TFF_SCOPE ) && TREE_CODE ( scope ) == FUNCTION_DECL ) { dump_function_decl ( scope , f ) ; pp_cxx_colon_colon ( cxx_pp ) ; } }
Dump a scope, if deemed necessary.
Dump a scope if deemed necessary .