mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 05:20:30 +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
Notes:
sideshowbarker
2024-07-18 01:24:16 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/880964755b6
1 changed files with 1 additions and 1 deletions
|
@ -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