This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [lto] Add nth_parm_type_p, alloc_parm_types, vec_heap2parm_types.
Kazu Hirata <kazu@codesourcery.com> writes:
> Hi Ian,
>
> >>+tree *
> >>+nth_parm_type_p (tree parmtypes, int n)
> > By gcc convention a function which ends with "_p" is a predicate, not
> > a function which returns a pointer. Please use a different name.
>
> A very good point, but then I am having trouble coming up with a good
> name. How about nth_parm_typep (without '_')? I got a hint from
> call_expr_argp.
call_expr_argp is also new.
How about nth_parm_type_ptr, as in last_stmt_ptr?
Ian