AaronBallman wrote: > Can we just be useful and produce a non pedantic extension warning?
I don't see a strong motivation for it in C, but I'm not strongly opposed either. C++ did it, but these kinds of statements don't show up in shared header files (aside from within inline functions), so it's not a super necessary extension for shared headers. The C feature already deviates from the C++ feature unfortunately (by not introducing `condition` as a grammatical construct there are material differences in parsing that mattered), but I am surprised this deviation isn't mentioned anywhere in WG14 N3356 or it's discussion. I'll reach out to Alex to see if this was intentional or not. https://github.com/llvm/llvm-project/pull/233908 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
