FreeBSD/contrib/gcc/cp/decl.c
/* Called when a class type (given by TYPE) is defined.  If there are
   any existing VAR_DECLs whose type hsa been completed by this
   declaration, update them now.  */
Called when a class type (given by TYPE) is defined.  If there are
any existing VAR_DECLs whose type hsa been completed by this
declaration, update them now.
Called when a class type ( given by TYPE ) is defined . If there are any existing VAR_DECLs whose type hsa been completed by this declaration update them now .
void
complete_vars (tree type)
{
  tree *list = &incomplete_vars;
  gcc_assert (CLASS_TYPE_P (type));
  while (*list)
    {
      if (same_type_p (type, TREE_PURPOSE (*list)))
	{
	  tree var = TREE_VALUE (*list);
	  tree type = TREE_TYPE (var);
	  complete_type (type);
	  cp_apply_type_quals_to_decl (cp_type_quals (type), var);
	  *list = TREE_CHAIN (*list);
	}
      else
	list = &TREE_CHAIN (*list);
    }
  complete_type_check_abstract (type);
}
void complete_vars ( tree type ) { tree * list = & incomplete_vars ; gcc_assert ( CLASS_TYPE_P ( type ) ) ; while ( * list ) { if ( same_type_p ( type , TREE_PURPOSE ( * list ) ) ) { tree var = TREE_VALUE ( * list ) ; tree type = TREE_TYPE ( var ) ; complete_type ( type ) ; cp_apply_type_quals_to_decl ( cp_type_quals ( type ) , var ) ; * list = TREE_CHAIN ( * list ) ; } else list = & TREE_CHAIN ( * list ) ; } complete_type_check_abstract ( type ) ; }
Called when a class type (given by TYPE) is defined.
Called when a class type ( given by TYPE ) is defined .
/* Complete the type of the variable.  The VAR_DECL itself
	     will be laid out in expand_expr.  */ /* Remove this entry from the list.  */ /* Check for pending declarations which may have abstract type.  */