nest again

This commit is contained in:
Vighnesh 2024-10-11 15:37:54 -07:00
parent c9ff5d1c0a
commit dafee8bbef

View file

@ -947,13 +947,15 @@ std::vector<std::pair<TypeId, TypeId>>::const_reverse_iterator DifferEnvironment
DifferResult diff(TypeId ty1, TypeId ty2) DifferResult diff(TypeId ty1, TypeId ty2)
{ {
#if defined(__GNUC__) #if defined(__GNUC__) && defined(__linux__)
#pragma GCC diagnostic push #pragma GCC diagnostic push
#if !defined(__has_warning) || __has_warning("-Wmaybe-uninitialized")
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" #pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#endif
#endif #endif
DifferEnvironment differEnv{ty1, ty2, std::nullopt, std::nullopt}; DifferEnvironment differEnv{ty1, ty2, std::nullopt, std::nullopt};
#if defined(__GNUC__) #if defined(__GNUC__) && defined(__linux__)
#pragma GCC diagnostic pop #pragma GCC diagnostic pop
#endif #endif