FreeBSD/contrib/gcc/cp/tree.c
tree
build_min (enum tree_code code, tree tt, ...)
{
  tree t;
  int length;
  int i;
  va_list p;

  va_start (p, tt);

  t = make_node (code);
  length = TREE_CODE_LENGTH (code);
  TREE_TYPE (t) = tt;

  for (i = 0; i < length; i++)
    {
      tree x = va_arg (p, tree);
      TREE_OPERAND (t, i) = x;
      if (x && !TYPE_P (x) && TREE_SIDE_EFFECTS (x))
	TREE_SIDE_EFFECTS (t) = 1;
    }

  va_end (p);
  return t;
}
/* Similar to `build', but for template definitions.  */
Similar to `build', but for template definitions.
Similar to ` build ' but for template definitions .
tree
build_min (enum tree_code code, tree tt, ...)
{
  tree t;
  int length;
  int i;
  va_list p;
  va_start (p, tt);
  t = make_node (code);
  length = TREE_CODE_LENGTH (code);
  TREE_TYPE (t) = tt;
  for (i = 0; i < length; i++)
    {
      tree x = va_arg (p, tree);
      TREE_OPERAND (t, i) = x;
      if (x && !TYPE_P (x) && TREE_SIDE_EFFECTS (x))
	TREE_SIDE_EFFECTS (t) = 1;
    }
  va_end (p);
  return t;
}
tree build_min ( enum tree_code code , tree tt , ... ) { tree t ; int length ; int i ; va_list p ; va_start ( p , tt ) ; t = make_node ( code ) ; length = TREE_CODE_LENGTH ( code ) ; TREE_TYPE ( t ) = tt ; for ( i = 0 ; i < length ; i ++ ) { tree x = va_arg ( p , tree ) ; TREE_OPERAND ( t , i ) = x ; if ( x && ! TYPE_P ( x ) && TREE_SIDE_EFFECTS ( x ) ) TREE_SIDE_EFFECTS ( t ) = 1 ; } va_end ( p ) ; return t ; }
Similar to `build', but for template definitions.
Similar to ` build ' but for template definitions .