[PATCH] Change StringRef size_t instances to size_type

Aaron Ballman aaron at aaronballman.com
Wed May 1 15:48:26 PDT 2013


Certainly, but then why leave the size_type typedef in?  Is it
beneficial in some way?

~Aaron

On Wed, May 1, 2013 at 6:36 PM, Chris Lattner <clattner at apple.com> wrote:
>
> On May 1, 2013, at 12:46 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
>
>> The StringRef datatype has mixed usage of size_t and size_type in its
>> interface.  This patch changes usages of size_t into size_type for
>> consistency.
>
> Can we standardize the other way?  Use size_t for everything except the typedef of size_type?
>
> -Chris



More information about the llvm-commits mailing list