diff --git a/AK/CheckedFormatString.h b/AK/CheckedFormatString.h index bffce42202c..33943be44c4 100644 --- a/AK/CheckedFormatString.h +++ b/AK/CheckedFormatString.h @@ -14,7 +14,7 @@ #ifdef ENABLE_COMPILETIME_FORMAT_CHECK // FIXME: Seems like clang doesn't like calling 'consteval' functions inside 'consteval' functions quite the same way as GCC does, // it seems to entirely forget that it accepted that parameters to a 'consteval' function to begin with. -# ifdef __clang__ +# if defined(__clang__) || defined(__CLION_IDE_) # undef ENABLE_COMPILETIME_FORMAT_CHECK # endif #endif