mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
PE/COFF does not permit weak linking semantics. This means that the expression `&symbol == NULL` is tautologically false. In order to support this semantic, the symbol needs to be dynamically looked up at runtime. Since the ObjC runtime is not in use on Windows currently, just ignore this for the time being. Silences a warning from clang about the tautological comparison.