aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2014-10-23 23:05:46 +0000
committerEric Fiselier <eric@efcs.ca>2014-10-23 23:05:46 +0000
commit5a5fadd70d0979d076669e4bc9fe3f9192153ec7 (patch)
treeb0d6d63e8f1d874dfc125bbc19746824203edcd0 /clang/lib/Frontend/CompilerInvocation.cpp
parent460b224ef92fa71abb86fc5f20cc5a96d5efd73d (diff)
downloadllvm-5a5fadd70d0979d076669e4bc9fe3f9192153ec7.zip
llvm-5a5fadd70d0979d076669e4bc9fe3f9192153ec7.tar.gz
llvm-5a5fadd70d0979d076669e4bc9fe3f9192153ec7.tar.bz2
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 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions