AK: Don't define AK_HAS_CONDITIONALLY_TRIVIAL when parsed by CLion IDE

This feature confuses CLion's parser, so let's turn it off if we see the
__CLION_IDE_ macro as well.
This commit is contained in:
Andreas Kling 2021-11-06 23:59:42 +01:00
parent 202950bb01
commit 880964755b
Notes: sideshowbarker 2024-07-18 01:24:16 +09:00

View file

@ -29,7 +29,7 @@
#define ARCH(arch) (defined(AK_ARCH_##arch) && AK_ARCH_##arch)
#if !defined(__clang__)
#if !defined(__clang__) && !defined(__CLION_IDE_)
# define AK_HAS_CONDITIONALLY_TRIVIAL
#endif