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
Notes: sideshowbarker 2024-07-18 01:24:13 +09:00

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