On Fri, 31 Jan 2014, Marek Polacek wrote:

> As promised, this patch improves column info for function arguments.
> It does so by creating a vec<location_t>, that carries locations of
> function arguments, which is filled when parsing expression list and
> then this vec is passed down to build_function_call_vec ->
> convert_arguments.  convert_arguments loops over function arguments
> and uses locations from the vec (it's not done for all functions,
> some __atomic_* functions have "hidden" arguments and the column info
> would be bogus).
> 
> Another change is that, in the C FE, the locus of a function now points
> to its name, not opening (.
> (For C++, the call locus points to closing paren, which is a pain
> for multi-line arguments.  I'll address that in another patch.)
> 
> Regtested/bootstrapped on x86_64-linux, ok for trunk?

OK.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to