https://github.com/jhuber6 commented:

I'm not sure, those enums might evaluate  to zero but it makes it clearer and 
correct if they ever change. Realistically, the chance of that happening is 
pretty much zero, but still. I don't see this warning show up when I check with 
my LSP (though I do see some for else after return.)

https://github.com/llvm/llvm-project/pull/120259
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to