[clang] [NFC][Clang] Fix static analyzer concerns (PR #120259)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 17 08:27:45 PST 2024


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


More information about the cfe-commits mailing list