mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
AST: Implement parsing support for the accepted spelling of @backDeployed for SE-0376.
For source compatibility `@_backDeploy` continues to be accepted as a spelling. rdar://102792909
This commit is contained in:
@@ -62,7 +62,7 @@ static void emitBackDeployIfAvailableCondition(SILGenFunction &SGF,
|
||||
SILLocation loc,
|
||||
SILBasicBlock *availableBB,
|
||||
SILBasicBlock *unavailableBB) {
|
||||
auto version = AFD->getBackDeployBeforeOSVersion(SGF.SGM.getASTContext());
|
||||
auto version = AFD->getBackDeployedBeforeOSVersion(SGF.SGM.getASTContext());
|
||||
VersionRange OSVersion = VersionRange::empty();
|
||||
if (version.has_value()) {
|
||||
OSVersion = VersionRange::allGTE(*version);
|
||||
|
||||
Reference in New Issue
Block a user