Mordante marked an inline comment as done. Mordante added a comment. In D71142#1774270 <https://reviews.llvm.org/D71142#1774270>, @xbolva00 wrote:
> Maybe a bit offtopic, but it would be good to diagnose this case too: > > enum A {a, b, c = 8}; > > struct T { > enum A field : 2; > }; > > > GCC catches this bug. I created https://bugs.llvm.org/show_bug.cgi?id=44251 and will look at adding this warning. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D71142/new/ https://reviews.llvm.org/D71142 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits