aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2018-09-11 10:09:57 +0000
committerDimitry Andric <dim@FreeBSD.org>2018-09-11 10:09:57 +0000
commit71bf09e840ae8223ff6cc128b489f06f4e447b3d (patch)
treeb0305a9eb9221e8f254e5a67b29102a27da14c7e /lib
parentfe208f5606bc4a82b573ac32db2897616d3abc24 (diff)
downloadsrc-71bf09e840ae8223ff6cc128b489f06f4e447b3d.tar.gz
src-71bf09e840ae8223ff6cc128b489f06f4e447b3d.zip
Vendor import of clang release_70 branch r341916:vendor/clang/clang-release_70-r341916
Notes
Notes: svn path=/vendor/clang/dist-release_70/; revision=338577 svn path=/vendor/clang/clang-release_70-r341916/; revision=338578; tag=vendor/clang/clang-release_70-r341916
Diffstat (limited to 'lib')
-rw-r--r--lib/Driver/ToolChains/Clang.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Driver/ToolChains/Clang.cpp b/lib/Driver/ToolChains/Clang.cpp
index 45a29a0225a4..8e9c4c6aecb8 100644
--- a/lib/Driver/ToolChains/Clang.cpp
+++ b/lib/Driver/ToolChains/Clang.cpp
@@ -4912,8 +4912,7 @@ ObjCRuntime Clang::AddObjCRuntimeArgs(const ArgList &args,
}
if ((runtime.getKind() == ObjCRuntime::GNUstep) &&
(runtime.getVersion() >= VersionTuple(2, 0)))
- if (!getToolChain().getTriple().isOSBinFormatELF() &&
- !getToolChain().getTriple().isOSBinFormatCOFF()) {
+ if (!getToolChain().getTriple().isOSBinFormatELF()) {
getToolChain().getDriver().Diag(
diag::err_drv_gnustep_objc_runtime_incompatible_binary)
<< runtime.getVersion().getMajor();