1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-05 19:14:54 +00:00

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

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