================ @@ -126,4 +126,10 @@ void testCustomOperator(CustomOperatorEnum e) { if (!(e & E1)) {} } +enum EmptyEnum {}; + +bool testCustomOperator(EmptyEnum value) { ---------------- PiotrZSL wrote:
Because this is enum without enumerators = can hold any value = usually used to work as strong type https://github.com/llvm/llvm-project/pull/131407 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits