ymandel added a comment. In D135978#3859272 <https://reviews.llvm.org/D135978#3859272>, @xazax.hun wrote:
> I'd argue the warning is correct as you could store "non-enum" integer values > into an enum typed variable (and people do that fairly often with bitwise > enums). Good point. Feels wrong, but is perfectly legal in C++. :( Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D135978/new/ https://reviews.llvm.org/D135978 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits