On 11/20/18 8:28 AM, Martin Sebor wrote:
> On 11/20/2018 02:21 AM, Richard Biener wrote:
>> On Mon, Nov 19, 2018 at 4:36 PM Martin Sebor wrote:
>>>
>>> On 11/19/2018 03:32 AM, Richard Biener wrote:
On Sat, Nov 17, 2018 at 12:05 AM Martin Sebor wrote:
>
> To encourage and simplify the
On 11/20/2018 02:21 AM, Richard Biener wrote:
On Mon, Nov 19, 2018 at 4:36 PM Martin Sebor wrote:
On 11/19/2018 03:32 AM, Richard Biener wrote:
On Sat, Nov 17, 2018 at 12:05 AM Martin Sebor wrote:
To encourage and simplify the adoption of iterator classes in
GCC the attached patch turns th
On Mon, Nov 19, 2018 at 4:36 PM Martin Sebor wrote:
>
> On 11/19/2018 03:32 AM, Richard Biener wrote:
> > On Sat, Nov 17, 2018 at 12:05 AM Martin Sebor wrote:
> >>
> >> To encourage and simplify the adoption of iterator classes in
> >> GCC the attached patch turns the function_args_iterator struc
On 11/19/2018 03:48 AM, Eric Botcazou wrote:
Eventually, when GCC moves to more a recent C++ revision, it will
become possible to simplify the for loops to make use of the range
based for loop syntax along the lines of:
for (auto argtype: function_args (functype))
{
...
}
Te
On 11/19/2018 03:32 AM, Richard Biener wrote:
On Sat, Nov 17, 2018 at 12:05 AM Martin Sebor wrote:
To encourage and simplify the adoption of iterator classes in
GCC the attached patch turns the function_args_iterator struct
into an (almost) proper C++ iterator class that can be used
the same w
> Eventually, when GCC moves to more a recent C++ revision, it will
> become possible to simplify the for loops to make use of the range
> based for loop syntax along the lines of:
>
>for (auto argtype: function_args (functype))
> {
>...
> }
>
> Tested on x86_64-linux, and (
On Sat, Nov 17, 2018 at 12:05 AM Martin Sebor wrote:
>
> To encourage and simplify the adoption of iterator classes in
> GCC the attached patch turns the function_args_iterator struct
> into an (almost) proper C++ iterator class that can be used
> the same way as traditional forward iterators.
>
>