diff options
author | Andreas Kling <kling@serenityos.org> | 2021-11-07 00:36:05 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-08 00:35:27 +0100 |
commit | c837bd551e7e37860d2b61c5dbcd393120619178 (patch) | |
tree | 5588fde28001a60ae76cd7c168be161640217d5e /AK | |
parent | 880964755b6286d5c288f53346a2bd1fde33996b (diff) | |
download | serenity-c837bd551e7e37860d2b61c5dbcd393120619178.zip |
AK: Don't define ENABLE_COMPILETIME_FORMAT_CHECK when parsed by CLion
Diffstat (limited to 'AK')
-rw-r--r-- | AK/CheckedFormatString.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/CheckedFormatString.h b/AK/CheckedFormatString.h index bffce42202..33943be44c 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 |