summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2017-12-09 02:27:11 +0000
committerAlex Lorenz <arphaman@gmail.com>2017-12-09 02:27:11 +0000
commitf04fb276e767b90c2ad84453d740771bb1898cc6 (patch)
treee33fb8ddfa67ce128cbe6cbb50997f6214f38e4a /clang/lib/Frontend/CompilerInvocation.cpp
parentf6510a01a663a2e249462ef0ca98a5b94c22f59b (diff)
downloadbcm5719-llvm-f04fb276e767b90c2ad84453d740771bb1898cc6.tar.gz
bcm5719-llvm-f04fb276e767b90c2ad84453d740771bb1898cc6.zip
[driver][darwin] Refactor the target selection code, NFC
The simulator variant of Darwin's platforms is removed in favor of a new environment field. The code that selects the platform and the version is split into 4 different functions instead of being all in one function. This is an NFC commit, although it slightly improves the "invalid version number" diagnostic by displaying the environment variable instead of -m<os>-version-min if the OS version was derived from the environment. rdar://35813850 Differential Revision: https://reviews.llvm.org/D41035 llvm-svn: 320235
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud