FreeBSD/contrib/gcc/cp/name-lookup.c
/* Always returns a binding for name in scope.  If no binding is
   found, make a new one.  */
Always returns a binding for name in scope.  If no binding is
found, make a new one.
Always returns a binding for name in scope . If no binding is found make a new one .
static cxx_binding *
binding_for_name (cxx_scope *scope, tree name)
{
  cxx_binding *result;
  result = cxx_scope_find_binding_for_name (scope, name);
  if (result)
    return result;
  result = cxx_binding_make (NULL, NULL);
  result->previous = IDENTIFIER_NAMESPACE_BINDINGS (name);
  result->scope = scope;
  result->is_local = false;
  result->value_is_inherited = false;
  result->declared_in_block = 0;
  IDENTIFIER_NAMESPACE_BINDINGS (name) = result;
  return result;
}
static cxx_binding * binding_for_name ( cxx_scope * scope , tree name ) { cxx_binding * result ; result = cxx_scope_find_binding_for_name ( scope , name ) ; if ( result ) return result ; result = cxx_binding_make ( NULL , NULL ) ; result -> previous = IDENTIFIER_NAMESPACE_BINDINGS ( name ) ; result -> scope = scope ; result -> is_local = false ; result -> value_is_inherited = false ; result -> declared_in_block = 0 ; IDENTIFIER_NAMESPACE_BINDINGS ( name ) = result ; return result ; }
Always returns a binding for name in scope.
Always returns a binding for name in scope .
/* Not found, make a new one.  */ /* APPLE LOCAL blocks 6040305 (ch) */