1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 12:08:14 +00:00

AK: Don't define ENABLE_COMPILETIME_FORMAT_CHECK when parsed by CLion

This commit is contained in:
Andreas Kling 2021-11-07 00:36:05 +01:00
parent 880964755b
commit c837bd551e

View file

@ -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