From 880964755b6286d5c288f53346a2bd1fde33996b Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 6 Nov 2021 23:59:42 +0100 Subject: 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. --- AK/Platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AK/Platform.h') 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 -- cgit v1.2.3