summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2014-10-23 22:57:56 +0000
committerEric Fiselier <eric@efcs.ca>2014-10-23 22:57:56 +0000
commit460b224ef92fa71abb86fc5f20cc5a96d5efd73d (patch)
tree254c4fa6a601bfa31b3c9b252e382f74cc3fbfc1 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parent7daf3b89f9e6d1661adc5a378934405b2a2427a9 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud