FreeBSD/contrib/gcc/cp/tree.c
/* Similar to `build', but for template definitions of non-dependent
   expressions. NON_DEP is the non-dependent expression that has been
   built.  */
Similar to `build', but for template definitions of non-dependent
expressions. NON_DEP is the non-dependent expression that has been
built.
Similar to ` build ' but for template definitions of non - dependent expressions . NON_DEP is the non - dependent expression that has been built .
tree
build_min_non_dep (enum tree_code code, tree non_dep, ...)
{
  tree t;
  int length;
  int i;
  va_list p;
  va_start (p, non_dep);
  t = make_node (code);
  length = TREE_CODE_LENGTH (code);
  TREE_TYPE (t) = TREE_TYPE (non_dep);
  TREE_SIDE_EFFECTS (t) = TREE_SIDE_EFFECTS (non_dep);
  for (i = 0; i < length; i++)
    {
      tree x = va_arg (p, tree);
      TREE_OPERAND (t, i) = x;
    }
  if (code == COMPOUND_EXPR && TREE_CODE (non_dep) != COMPOUND_EXPR)
    COMPOUND_EXPR_OVERLOADED (t) = 1;
  va_end (p);
  return t;
}
tree build_min_non_dep ( enum tree_code code , tree non_dep , ... ) { tree t ; int length ; int i ; va_list p ; va_start ( p , non_dep ) ; t = make_node ( code ) ; length = TREE_CODE_LENGTH ( code ) ; TREE_TYPE ( t ) = TREE_TYPE ( non_dep ) ; TREE_SIDE_EFFECTS ( t ) = TREE_SIDE_EFFECTS ( non_dep ) ; for ( i = 0 ; i < length ; i ++ ) { tree x = va_arg ( p , tree ) ; TREE_OPERAND ( t , i ) = x ; } if ( code == COMPOUND_EXPR && TREE_CODE ( non_dep ) != COMPOUND_EXPR ) COMPOUND_EXPR_OVERLOADED ( t ) = 1 ; va_end ( p ) ; return t ; }
Similar to `build', but for template definitions of non-dependent
expressions.
Similar to ` build ' but for template definitions of non - dependent expressions .
/* This should not be considered a COMPOUND_EXPR, because it
       resolves to an overload.  */