https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105470
--- Comment #11 from Roland Hughes ---
(In reply to Marek Polacek from comment #9)
> (In reply to Roland Hughes from comment #8)
> > (In reply to Marek Polacek from comment #1)
> > > Can you please provide a stand-alone test case?
> >
> > I wil
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105470
--- Comment #10 from Roland Hughes ---
(In reply to Marek Polacek from comment #1)
>
> The warning is completely correct, and the code should be fixed.
>
> for ( const std::pair &it : someMap )
>
> This iterates over a map, with values of typ
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105470
--- Comment #8 from Roland Hughes ---
(In reply to Marek Polacek from comment #1)
> Can you please provide a stand-alone test case?
I will work on this over the weekend.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105470
Bug ID: 105470
Summary: ranged for loop whitespace parsing
Product: gcc
Version: 11.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++