r199686 - Rename FunctionProtoType accessors from 'arguments' to 'parameters'
Richard Smith
richard at metafoo.co.uk
Tue Jan 21 15:46:21 PST 2014
On Mon, Jan 20, 2014 at 12:26 PM, Alp Toker <alp at nuanti.com> wrote:
> Author: alp
> Date: Mon Jan 20 14:26:09 2014
> New Revision: 199686
>
> URL: http://llvm.org/viewvc/llvm-project?rev=199686&view=rev
> Log:
> Rename FunctionProtoType accessors from 'arguments' to 'parameters'
>
> Fix a perennial source of confusion in the clang type system: Declarations
> and
> function prototypes have parameters to which arguments are supplied, so
> calling
> these 'arguments' was a stretch even in C mode, let alone C++ where default
> arguments, templates and overloading make the distinction important to get
> right.
>
> Readability win across the board, especially in the casting, ADL and
> overloading implementations which make a lot more sense at a glance now.
>
> Will keep an eye on the builders and update dependent projects shortly.
>
> No functional change.
[...]
Thank you! =)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140121/02d9cb1e/attachment.html>
More information about the cfe-commits
mailing list