[all-commits] [llvm/llvm-project] b2545b: [lldb] Use `foo is None` instead of `not foo` in d...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Jan 28 20:04:04 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b2545b71d121ac913e56faff3b704f3957f941b7
      https://github.com/llvm/llvm-project/commit/b2545b71d121ac913e56faff3b704f3957f941b7
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-01-28 (Thu, 28 Jan 2021)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/builders/darwin.py

  Log Message:
  -----------
  [lldb] Use `foo is None` instead of `not foo` in darwin.py

Explicitly compare to None when checking the triple's components so we
don't bail out when one of them is the empty string.




More information about the All-commits mailing list