[all-commits] [llvm/llvm-project] daaaf4: [analyzer][NFC] Fix comparison to True/False (#94038)
Eisuke Kawashima via All-commits
all-commits at lists.llvm.org
Sat Jun 1 00:12:58 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: daaaf4e9009edf38dfc3d01d3c30de0827ffd1b5
https://github.com/llvm/llvm-project/commit/daaaf4e9009edf38dfc3d01d3c30de0827ffd1b5
Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M clang/tools/scan-build/bin/set-xcode-analyzer
M clang/utils/check_cfc/check_cfc.py
Log Message:
-----------
[analyzer][NFC] Fix comparison to True/False (#94038)
from PEP8
(https://peps.python.org/pep-0008/#programming-recommendations):
> Comparisons to singletons like None should always be done with is or
is not, never the equality operators.
Co-authored-by: Eisuke Kawashima <e-kwsm at users.noreply.github.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list