File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
clang/include/clang/Basic Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -99,14 +99,10 @@ class ObjCRuntime {
99
99
Arch == llvm::Triple::x86_64)
100
100
return false ;
101
101
}
102
- else if (isNeXTFamily () && getVersion ().getMajor () == 10 ) {
103
- unsigned minor = 0 ;
104
- if (getVersion ().getMinor ().hasValue ())
105
- minor = getVersion ().getMinor ().getValue ();
106
- if (minor == 5 &&
107
- (Arch == llvm::Triple::x86 || Arch == llvm::Triple::x86_64))
108
- return false ;
109
- }
102
+ else if ((getKind () == MacOSX) && isNonFragile () &&
103
+ (getVersion () >= VersionTuple (10 , 5 )) &&
104
+ (getVersion () < VersionTuple (10 , 6 )))
105
+ return Arch != llvm::Triple::x86_64;
110
106
// Except for deployment target of 10.5,
111
107
// Mac runtimes use legacy dispatch everywhere now.
112
108
return true ;
You can’t perform that action at this time.
0 commit comments