FreeBSD/contrib/gcc/cp/typeck.c
/* Return a tree for the sum or difference (RESULTCODE says which)
   of pointer PTROP and integer INTOP.  */
Return a tree for the sum or difference (RESULTCODE says which)
of pointer PTROP and integer INTOP.
Return a tree for the sum or difference ( RESULTCODE says which ) of pointer PTROP and integer INTOP .
static tree
cp_pointer_int_sum (enum tree_code resultcode, tree ptrop, tree intop)
{
  tree res_type = TREE_TYPE (ptrop);
  complete_type (TREE_TYPE (res_type));
  return pointer_int_sum (resultcode, ptrop,
			  fold_if_not_in_template (intop));
}
static tree cp_pointer_int_sum ( enum tree_code resultcode , tree ptrop , tree intop ) { tree res_type = TREE_TYPE ( ptrop ) ; complete_type ( TREE_TYPE ( res_type ) ) ; return pointer_int_sum ( resultcode , ptrop , fold_if_not_in_template ( intop ) ) ; }
Return a tree for the sum or difference (RESULTCODE says which)
of pointer PTROP and integer INTOP.
Return a tree for the sum or difference ( RESULTCODE says which ) of pointer PTROP and integer INTOP .
/* pointer_int_sum() uses size_in_bytes() on the TREE_TYPE(res_type)
     in certain circumstance (when it's valid to do so).  So we need
     to make sure it's complete.  We don't need to check here, if we
     can actually complete it at all, as those checks will be done in
     pointer_int_sum() anyway.  */