@@ -894,7 +894,7 @@ static bool _dynamicCastToExistential(OpaqueValue *dest,
894
894
maybeDeallocateSource (result);
895
895
return result;
896
896
}
897
- LLVM_FALLTHROUGH ;
897
+ SWIFT_FALLTHROUGH ;
898
898
899
899
case MetadataKind::Enum:
900
900
case MetadataKind::Optional:
@@ -910,7 +910,7 @@ static bool _dynamicCastToExistential(OpaqueValue *dest,
910
910
maybeDeallocateSource (success);
911
911
return success;
912
912
}
913
- LLVM_FALLTHROUGH ;
913
+ SWIFT_FALLTHROUGH ;
914
914
915
915
default :
916
916
return fallbackForNonClass ();
@@ -1127,15 +1127,15 @@ swift_dynamicCastMetatypeImpl(const Metadata *sourceType,
1127
1127
// Get the actual class object.
1128
1128
targetType = static_cast <const ObjCClassWrapperMetadata*>(targetType)
1129
1129
->Class ;
1130
- LLVM_FALLTHROUGH ;
1130
+ SWIFT_FALLTHROUGH ;
1131
1131
case MetadataKind::Class:
1132
1132
// The source value must also be a class; otherwise the cast fails.
1133
1133
switch (sourceType->getKind ()) {
1134
1134
case MetadataKind::ObjCClassWrapper:
1135
1135
// Get the actual class object.
1136
1136
sourceType = static_cast <const ObjCClassWrapperMetadata*>(sourceType)
1137
1137
->Class ;
1138
- LLVM_FALLTHROUGH ;
1138
+ SWIFT_FALLTHROUGH ;
1139
1139
case MetadataKind::Class: {
1140
1140
// Check if the source is a subclass of the target.
1141
1141
#if SWIFT_OBJC_INTEROP
@@ -1171,7 +1171,7 @@ swift_dynamicCastMetatypeImpl(const Metadata *sourceType,
1171
1171
// Get the actual class object.
1172
1172
sourceType = static_cast <const ObjCClassWrapperMetadata*>(sourceType)
1173
1173
->Class ;
1174
- LLVM_FALLTHROUGH ;
1174
+ SWIFT_FALLTHROUGH ;
1175
1175
case MetadataKind::Class:
1176
1176
case MetadataKind::ForeignClass:
1177
1177
// Check if the source is a subclass of the target.
@@ -1214,15 +1214,15 @@ swift_dynamicCastMetatypeUnconditionalImpl(const Metadata *sourceType,
1214
1214
// Get the actual class object.
1215
1215
targetType = static_cast <const ObjCClassWrapperMetadata*>(targetType)
1216
1216
->Class ;
1217
- LLVM_FALLTHROUGH ;
1217
+ SWIFT_FALLTHROUGH ;
1218
1218
case MetadataKind::Class:
1219
1219
// The source value must also be a class; otherwise the cast fails.
1220
1220
switch (sourceType->getKind ()) {
1221
1221
case MetadataKind::ObjCClassWrapper:
1222
1222
// Get the actual class object.
1223
1223
sourceType = static_cast <const ObjCClassWrapperMetadata*>(sourceType)
1224
1224
->Class ;
1225
- LLVM_FALLTHROUGH ;
1225
+ SWIFT_FALLTHROUGH ;
1226
1226
case MetadataKind::Class: {
1227
1227
// Check if the source is a subclass of the target.
1228
1228
#if SWIFT_OBJC_INTEROP
@@ -1261,7 +1261,7 @@ swift_dynamicCastMetatypeUnconditionalImpl(const Metadata *sourceType,
1261
1261
// Get the actual class object.
1262
1262
sourceType = static_cast <const ObjCClassWrapperMetadata*>(sourceType)
1263
1263
->Class ;
1264
- LLVM_FALLTHROUGH ;
1264
+ SWIFT_FALLTHROUGH ;
1265
1265
case MetadataKind::Class:
1266
1266
case MetadataKind::ForeignClass:
1267
1267
// Check if the source is a subclass of the target.
@@ -2410,7 +2410,7 @@ static bool swift_dynamicCastImpl(OpaqueValue *dest, OpaqueValue *src,
2410
2410
return _dynamicCastFromAnyHashable (dest, src, srcType,
2411
2411
targetType, flags);
2412
2412
}
2413
- LLVM_FALLTHROUGH ;
2413
+ SWIFT_FALLTHROUGH ;
2414
2414
2415
2415
case MetadataKind::Enum:
2416
2416
case MetadataKind::Optional: {
@@ -2525,7 +2525,7 @@ static bool swift_dynamicCastImpl(OpaqueValue *dest, OpaqueValue *src,
2525
2525
break ;
2526
2526
}
2527
2527
2528
- LLVM_FALLTHROUGH ;
2528
+ SWIFT_FALLTHROUGH ;
2529
2529
2530
2530
// The non-polymorphic types.
2531
2531
default :
0 commit comments