[clang] [NFC] Replace bool <= bool comparison (PR #102948)

via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 13 00:56:11 PDT 2024


https://github.com/Sirraide commented:

Oh yeah, `<=` is rather horrible—I had to write that down as a truth table to figure out for sure what that’s supposed to do—but `!(x && !y)` gives me just as much of a headache; I’d very much prefer `(!x || y)`; fewer operators are easier to read imo.

https://github.com/llvm/llvm-project/pull/102948


More information about the cfe-commits mailing list