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 4727327 commit 58a97f1Copy full SHA for 58a97f1
stdlib/public/runtime/Metadata.cpp
@@ -439,13 +439,16 @@ namespace {
439
} // end anonymous namespace
440
441
namespace swift {
442
+#pragma clang diagnostic push
443
+#pragma clang diagnostic ignored "-Winvalid-offsetof"
444
struct StaticAssertGenericMetadataCacheEntryValueOffset {
445
static_assert(
446
offsetof(GenericCacheEntry, Value) ==
447
offsetof(swift::GenericMetadataCacheEntry<InProcess::StoredPointer>,
448
Value),
449
"The generic metadata cache entry layout mismatch");
450
};
451
+#pragma clang diagnostic pop
452
}
453
454
namespace {
0 commit comments