diff options
author | Andreas Kling <kling@serenityos.org> | 2021-11-06 23:59:42 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-08 00:35:27 +0100 |
commit | 880964755b6286d5c288f53346a2bd1fde33996b (patch) | |
tree | 0106e8f902f3c8b0e7e1efa2c978d9e27788d833 /AK/Platform.h | |
parent | 202950bb01e225581fcacd865f80386322a6cee4 (diff) | |
download | serenity-880964755b6286d5c288f53346a2bd1fde33996b.zip |
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.
Diffstat (limited to 'AK/Platform.h')
-rw-r--r-- | AK/Platform.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/Platform.h b/AK/Platform.h index ca8e551560..ee51bcc3f9 100644 --- a/AK/Platform.h +++ b/AK/Platform.h @@ -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 |