mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
AK: Don't define ENABLE_COMPILETIME_FORMAT_CHECK when parsed by CLion
This commit is contained in:
parent
880964755b
commit
c837bd551e
Notes:
sideshowbarker
2024-07-18 01:24:13 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/c837bd551e7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue