[all-commits] [llvm/llvm-project] 11a9ab: [OpenMP] Fix comparison to True/False in openmp/**...

Eisuke Kawashima via All-commits all-commits at lists.llvm.org
Tue Jul 16 07:18:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 11a9ab125737e4b43a98073ccf238cef9c8501b9
      https://github.com/llvm/llvm-project/commit/11a9ab125737e4b43a98073ccf238cef9c8501b9
  Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M openmp/libompd/gdb-plugin/ompd/ompd.py
    M openmp/tools/archer/tests/lit.cfg

  Log Message:
  -----------
  [OpenMP] Fix comparison to True/False in openmp/**.py (#94041)

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