]> granicus.if.org Git - clang/commit
Remove an unnecessary special case to check for a few Darwin-specific options.
authorBob Wilson <bob.wilson@apple.com>
Thu, 16 Jan 2014 21:50:37 +0000 (21:50 +0000)
committerBob Wilson <bob.wilson@apple.com>
Thu, 16 Jan 2014 21:50:37 +0000 (21:50 +0000)
commitc2fc50680bb1657ef9dbb5ae729fbb4ea6db2f56
tree3366786eb6325060307531c78be0222f841ca192
parentfada0978a377b6c5c7b15cbeafeb51ffde2e5b89
Remove an unnecessary special case to check for a few Darwin-specific options.

Using -mmacosx-version-min (etc.) on non-Darwin platforms should be a warning,
not a hard error. There is no reason to add a special check for these options
in the default toolchain. This just removes the special check and then we get
the usual -Wunused-command-line-argument warning if someone tries to use one
of these options for a target where they are not supported.
<rdar://problem/15569346>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199431 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChain.cpp