HomePhabricator

[lldb] Use `foo is None` instead of `not foo` in darwin.py

Authored by JDevlieghere on Jan 28 2021, 7:56 PM.

Description

[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.

Details

Committed
JDevlieghereJan 28 2021, 8:03 PM
Parents
rGe5f258cb03f2: [NFC][DebugInfo] Fix Wreturn-type gcc warning
Branches
Unknown
Tags
Unknown