File tree Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -375,37 +375,3 @@ std::pair<bool, bool> LangOptions::setTarget(llvm::Triple triple) {
375
375
376
376
return { false , false };
377
377
}
378
-
379
- bool LangOptions::doesTargetSupportObjCMetadataUpdateCallback () const {
380
- if (Target.getArchName () == " arm64e" )
381
- return true ;
382
- if (Target.isMacOSX ())
383
- return !Target.isMacOSXVersionLT (10 , 14 , 4 );
384
- if (Target.isiOS ()) // also returns true on tvOS
385
- return !Target.isOSVersionLT (12 , 2 );
386
- if (Target.isWatchOS ())
387
- return !Target.isOSVersionLT (5 , 2 );
388
-
389
- // Don't assert if we're running on a non-Apple platform; we still
390
- // want to allow running tests that -enable-objc-interop.
391
- return false ;
392
- }
393
-
394
- bool LangOptions::doesTargetSupportObjCGetClassHook () const {
395
- return doesTargetSupportObjCMetadataUpdateCallback ();
396
- }
397
-
398
- bool LangOptions::doesTargetSupportObjCClassStubs () const {
399
- if (Target.getArchName () == " arm64e" )
400
- return true ;
401
- if (Target.isMacOSX ())
402
- return !Target.isMacOSXVersionLT (10 , 15 );
403
- if (Target.isiOS ()) // also returns true on tvOS
404
- return !Target.isOSVersionLT (13 );
405
- if (Target.isWatchOS ())
406
- return !Target.isOSVersionLT (6 );
407
-
408
- // Don't assert if we're running on a non-Apple platform; we still
409
- // want to allow running tests that -enable-objc-interop.
410
- return false ;
411
- }
You can’t perform that action at this time.
0 commit comments