diff options
author | Eric Fiselier <eric@efcs.ca> | 2014-10-23 22:57:56 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2014-10-23 22:57:56 +0000 |
commit | 460b224ef92fa71abb86fc5f20cc5a96d5efd73d (patch) | |
tree | 254c4fa6a601bfa31b3c9b252e382f74cc3fbfc1 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 7daf3b89f9e6d1661adc5a378934405b2a2427a9 (diff) | |
download | bcm5719-llvm-460b224ef92fa71abb86fc5f20cc5a96d5efd73d.tar.gz bcm5719-llvm-460b224ef92fa71abb86fc5f20cc5a96d5efd73d.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: 220534
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions