mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-04 15:09:40 +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:
parent
202950bb01
commit
880964755b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue