tadeuszjt wrote: > I find it a bit strange. Could you add a test like this? > > ```c++ > while(;[[]];;) > ```
That code also causes the crash because it gives a diagnostic for the first semicolon, then re-enters ParseCondition as usual for the rest of the tokens. I have added a test to show it working in the latest push https://github.com/llvm/llvm-project/pull/219056 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
