FreeBSD/contrib/gcc/cp/name-lookup.c
/* Emit debugging information for using declarations and directives.
   If input tree is overloaded fn then emit debug info for all
   candidates.  */
Emit debugging information for using declarations and directives.
If input tree is overloaded fn then emit debug info for all
candidates.
Emit debugging information for using declarations and directives . If input tree is overloaded fn then emit debug info for all candidates .
void
cp_emit_debug_info_for_using (tree t, tree context)
{
  if (sorrycount || errorcount)
    return;
  if (TREE_CODE (t) == FUNCTION_DECL
      && DECL_EXTERNAL (t)
      && DECL_BUILT_IN (t))
    return;
  if (context == global_namespace)
    context = NULL_TREE;
  if (BASELINK_P (t))
    t = BASELINK_FUNCTIONS (t);
  for (t = OVL_CURRENT (t); t; t = OVL_NEXT (t))
    if (TREE_CODE (t) != TEMPLATE_DECL)
      (*debug_hooks->imported_module_or_decl) (t, context);
}
void cp_emit_debug_info_for_using ( tree t , tree context ) { if ( sorrycount || errorcount ) return ; if ( TREE_CODE ( t ) == FUNCTION_DECL && DECL_EXTERNAL ( t ) && DECL_BUILT_IN ( t ) ) return ; if ( context == global_namespace ) context = NULL_TREE ; if ( BASELINK_P ( t ) ) t = BASELINK_FUNCTIONS ( t ) ; for ( t = OVL_CURRENT ( t ) ; t ; t = OVL_NEXT ( t ) ) if ( TREE_CODE ( t ) != TEMPLATE_DECL ) ( * debug_hooks -> imported_module_or_decl ) ( t , context ) ; }
Emit debugging information for using declarations and directives.
Emit debugging information for using declarations and directives .
/* Don't try to emit any debug information if we have errors.  */ /* Ignore this FUNCTION_DECL if it refers to a builtin declaration
     of a builtin function.  */ /* Do not supply context to imported_module_or_decl, if
     it is a global namespace.  */ /* FIXME: Handle TEMPLATE_DECLs.  */