diff options
author | Eric Fiselier <eric@efcs.ca> | 2014-10-23 23:05:46 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2014-10-23 23:05:46 +0000 |
commit | 5a5fadd70d0979d076669e4bc9fe3f9192153ec7 (patch) | |
tree | b0d6d63e8f1d874dfc125bbc19746824203edcd0 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 460b224ef92fa71abb86fc5f20cc5a96d5efd73d (diff) | |
download | bcm5719-llvm-5a5fadd70d0979d076669e4bc9fe3f9192153ec7.tar.gz bcm5719-llvm-5a5fadd70d0979d076669e4bc9fe3f9192153ec7.zip |
Change uses of `sys.platform == 'linux2' to `sys.platform.startswith('linux')
Although the current method is valid up till python 3.3 (which is not supported)
this seems to be a clearer way of checking for linux and moves the tests towards
python 3 compatibility.
llvm-svn: 220535
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions