| 
121 | 121 |     LANGUAGE_FEATURE(FeatureName, SENumber, Description)  | 
122 | 122 | #endif  | 
123 | 123 | 
 
  | 
124 |  | -// An upcoming feature that supports adoption mode.  | 
 | 124 | +// An upcoming feature that supports migration mode.  | 
125 | 125 | //  | 
126 | 126 | // If the feature is source-breaking and provides for a  | 
127 |  | -// mechanical code migration, it should implement adoption mode.  | 
 | 127 | +// mechanical code migration, it should implement migration mode.  | 
128 | 128 | //  | 
129 |  | -// Adoption mode is a feature-oriented code migration mechanism: a mode  | 
 | 129 | +// Migration mode is a feature-oriented code migration mechanism: a mode  | 
130 | 130 | // of operation that should produce compiler warnings with attached  | 
131 | 131 | // fix-its that can be applied to preserve the behavior of the code once  | 
132 | 132 | // the upcoming feature is enacted.  | 
133 | 133 | // These warnings must belong to a diagnostic group named after the  | 
134 |  | -// feature. Adoption mode itself *and* the fix-its it produces must be  | 
 | 134 | +// feature. Migration mode itself *and* the fix-its it produces must be  | 
135 | 135 | // source and binary compatible with how the code is compiled when the  | 
136 | 136 | // feature is disabled.  | 
137 |  | -#ifndef ADOPTABLE_UPCOMING_FEATURE  | 
 | 137 | +#ifndef MIGRATABLE_UPCOMING_FEATURE  | 
138 | 138 |   #if defined(UPCOMING_FEATURE)  | 
139 |  | -    #define ADOPTABLE_UPCOMING_FEATURE(FeatureName, SENumber, Version)         \  | 
 | 139 | +    #define MIGRATABLE_UPCOMING_FEATURE(FeatureName, SENumber, Version)         \  | 
140 | 140 |       UPCOMING_FEATURE(FeatureName, SENumber, Version)  | 
141 | 141 |   #else  | 
142 |  | -    #define ADOPTABLE_UPCOMING_FEATURE(FeatureName, SENumber, Version)         \  | 
 | 142 | +    #define MIGRATABLE_UPCOMING_FEATURE(FeatureName, SENumber, Version)         \  | 
143 | 143 |       LANGUAGE_FEATURE(FeatureName, SENumber, #FeatureName)  | 
144 | 144 |   #endif  | 
145 | 145 | #endif  | 
146 | 146 | 
 
  | 
147 |  | -// See `ADOPTABLE_UPCOMING_FEATURE`.  | 
148 |  | -#ifndef ADOPTABLE_EXPERIMENTAL_FEATURE  | 
 | 147 | +// See `MIGRATABLE_UPCOMING_FEATURE`.  | 
 | 148 | +#ifndef MIGRATABLE_EXPERIMENTAL_FEATURE  | 
149 | 149 |   #if defined(EXPERIMENTAL_FEATURE)  | 
150 |  | -    #define ADOPTABLE_EXPERIMENTAL_FEATURE(FeatureName, AvailableInProd)       \  | 
 | 150 | +    #define MIGRATABLE_EXPERIMENTAL_FEATURE(FeatureName, AvailableInProd)       \  | 
151 | 151 |       EXPERIMENTAL_FEATURE(FeatureName, AvailableInProd)  | 
152 | 152 |   #else  | 
153 |  | -    #define ADOPTABLE_EXPERIMENTAL_FEATURE(FeatureName, AvailableInProd)       \  | 
 | 153 | +    #define MIGRATABLE_EXPERIMENTAL_FEATURE(FeatureName, AvailableInProd)       \  | 
154 | 154 |       LANGUAGE_FEATURE(FeatureName, 0, #FeatureName)  | 
155 | 155 |   #endif  | 
156 | 156 | #endif  | 
@@ -276,11 +276,11 @@ UPCOMING_FEATURE(NonfrozenEnumExhaustivity, 192, 6)  | 
276 | 276 | UPCOMING_FEATURE(GlobalActorIsolatedTypesUsability, 0434, 6)  | 
277 | 277 | 
 
  | 
278 | 278 | // Swift 7  | 
279 |  | -ADOPTABLE_UPCOMING_FEATURE(ExistentialAny, 335, 7)  | 
 | 279 | +MIGRATABLE_UPCOMING_FEATURE(ExistentialAny, 335, 7)  | 
280 | 280 | UPCOMING_FEATURE(InternalImportsByDefault, 409, 7)  | 
281 | 281 | UPCOMING_FEATURE(MemberImportVisibility, 444, 7)  | 
282 | 282 | UPCOMING_FEATURE(InferIsolatedConformances, 470, 7)  | 
283 |  | -ADOPTABLE_UPCOMING_FEATURE(NonisolatedNonsendingByDefault, 461, 7)  | 
 | 283 | +MIGRATABLE_UPCOMING_FEATURE(NonisolatedNonsendingByDefault, 461, 7)  | 
284 | 284 | 
 
  | 
285 | 285 | // Optional language features / modes  | 
286 | 286 | 
 
  | 
@@ -520,8 +520,8 @@ SUPPRESSIBLE_EXPERIMENTAL_FEATURE(ExtensibleAttribute, false)  | 
520 | 520 | #undef EXPERIMENTAL_FEATURE_EXCLUDED_FROM_MODULE_INTERFACE  | 
521 | 521 | #undef EXPERIMENTAL_FEATURE  | 
522 | 522 | #undef UPCOMING_FEATURE  | 
523 |  | -#undef ADOPTABLE_UPCOMING_FEATURE  | 
524 |  | -#undef ADOPTABLE_EXPERIMENTAL_FEATURE  | 
 | 523 | +#undef MIGRATABLE_UPCOMING_FEATURE  | 
 | 524 | +#undef MIGRATABLE_EXPERIMENTAL_FEATURE  | 
525 | 525 | #undef BASELINE_LANGUAGE_FEATURE  | 
526 | 526 | #undef OPTIONAL_LANGUAGE_FEATURE  | 
527 | 527 | #undef CONDITIONALLY_SUPPRESSIBLE_EXPERIMENTAL_FEATURE  | 
 | 
0 commit comments