[driver][darwin] Do not infer -simulator environment for OS version env vars
authorAlex Lorenz <arphaman@gmail.com>
Wed, 25 Apr 2018 22:23:26 +0000 (22:23 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Wed, 25 Apr 2018 22:23:26 +0000 (22:23 +0000)
commit76661e0f36bb200226102eb749e7b56ffbd69403
tree19260b5414e030e4d8473c9b3aede44bd9be8db7
parent05e8bc85e63cd2f6b0795e7d254611439f63a238
[driver][darwin] Do not infer -simulator environment for OS version env vars
with non-simulator SDKs

rdar://37955008

llvm-svn: 330878
clang/lib/Driver/ToolChains/Darwin.cpp
clang/test/Driver/darwin-infer-simulator-sdkroot.c