[clang] [analyzer][NFC] Fix comparison to True/False (PR #94038)

DonĂ¡t Nagy via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 3 03:11:45 PDT 2024


https://github.com/NagyDonat commented:

This change follows both the letter and the spirit of PEP8. (Note that `True` and `False` are not "singletons like `None`" because the type `bool` has two possible values -- but different rules still claim that the original code was bad and the new code is good.)  

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


More information about the cfe-commits mailing list