bolshakov-a wrote: Yeah, the not-to-break-ABI consideration is obviously the only reason why they haven't fix it so far. But this makes dangerous to mix declarations with different tag kinds despite it is allowed by the standard, and hence MSVC has a warning on that as @kimgr has noticed. So probably, there isn't much sense for strict correspondence in that case because it might be said that this is user's code problem... Anyway, it is fixed now.
https://github.com/llvm/llvm-project/pull/147835 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits