FreeBSD/contrib/gcc/cp/name-lookup.c
/* Like pushdecl, only it places X in the global scope if appropriate.
   Calls cp_finish_decl to register the variable, initializing it with
   *INIT, if INIT is non-NULL.  */
Like pushdecl, only it places X in the global scope if appropriate.
Calls cp_finish_decl to register the variable, initializing it with
INIT, if INIT is non-NULL.
Like pushdecl only it places X in the global scope if appropriate . Calls cp_finish_decl to register the variable initializing it with INIT if INIT is non - NULL .
static tree
pushdecl_top_level_1 (tree x, tree *init, bool is_friend)
{
  timevar_push (TV_NAME_LOOKUP);
  push_to_top_level ();
  x = pushdecl_namespace_level (x, is_friend);
  if (init)
    finish_decl (x, *init, NULL_TREE);
  pop_from_top_level ();
  POP_TIMEVAR_AND_RETURN (TV_NAME_LOOKUP, x);
}
static tree pushdecl_top_level_1 ( tree x , tree * init , bool is_friend ) { timevar_push ( TV_NAME_LOOKUP ) ; push_to_top_level ( ) ; x = pushdecl_namespace_level ( x , is_friend ) ; if ( init ) finish_decl ( x , * init , NULL_TREE ) ; pop_from_top_level ( ) ; POP_TIMEVAR_AND_RETURN ( TV_NAME_LOOKUP , x ) ; }
Like pushdecl, only it places X in the global scope if appropriate.
Like pushdecl only it places X in the global scope if appropriate .