https://github.com/Sirraide commented:
Yeah, I think this is fine because we don’t treat scoped enums as integer types, but we don’t seem to have any tests for this, so could you add some to make sure that we *do* reject shifts where one (or both) operands are scoped enums (in C and C++). https://github.com/llvm/llvm-project/pull/152865 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits