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 f17671c commit c1542bfCopy full SHA for c1542bf
tools/SourceKit/lib/SwiftLang/SwiftEditor.cpp
@@ -609,8 +609,7 @@ struct SwiftSemanticToken {
609
return SwiftLangSupport::getUIDForCodeCompletionDeclKind(Kind, getIsRef());
610
}
611
};
612
-#if SWIFT_COMPILER_IS_MSVC
613
-#else
+#if !defined(_MSC_VER)
614
static_assert(sizeof(SwiftSemanticToken) == 8, "Too big");
615
// FIXME: MSVC doesn't pack bitfields with different underlying types.
616
// Giving up to check this in MSVC for now, becasue static_assert is only for
0 commit comments