This is split from #60146 and reported by @jeremyong.
I'm seeing this also with an even simpler repro:
for (int i = 0; Foo& foo : foos)
turns into
for (int i = 0; Foo & foo : foos)
even with PointerAlignment: Left. I am assuming that in the presence of scoped declaration statements, subsequent & operators are parsed as bitwise-and operators.
This is split from #60146 and reported by @jeremyong.
> I'm seeing this also with an even simpler repro:
>
> ```c++
> for (int i = 0; Foo& foo : foos)
> ```
>
> turns into
>
> ```c++
> for (int i = 0; Foo & foo : foos)
> ```
>
> even with `PointerAlignment: Left`. I am assuming that in the presence of scoped declaration statements, subsequent `&` operators are parsed as bitwise-and operators.
This is split from #60146 and reported by @jeremyong.