We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5add794 commit d3305afCopy full SHA for d3305af
stdlib/public/runtime/SwiftObject.mm
@@ -1171,7 +1171,10 @@ static bool isObjCForUnownedReference(void *value) {
1171
if (object == nullptr)
1172
return nullptr;
1173
1174
+#pragma clang diagnostic push
1175
+#pragma clang diagnostic ignored "-Wreceiver-forward-class"
1176
if ([id_const_cast(object) isKindOfClass:[__SwiftValue class]]) {
1177
+#pragma clang diagnostic pop
1178
// Source is a `__SwiftValue` container
1179
// Unwrap, then use the most general casting machine to do the heavy lifting
1180
auto typeValue = getValueFromSwiftValue(reinterpret_cast<__SwiftValue *>(object));
0 commit comments