mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
AK: Disable the consumable annotation checking to fix Clang build
Clang keeps whining that NonnullFooPtrs are in "unknown" state and I'm not sure how to resolve that right now. Disable the checking until we can figure it out.
This commit is contained in:
parent
f631f6a2e6
commit
19be842b5b
Notes:
sideshowbarker
2024-07-19 07:49:49 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/19be842b5b0
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@
|
|||
|
||||
#define ARCH(arch) (defined(AK_ARCH_##arch) && AK_ARCH_##arch)
|
||||
|
||||
#ifdef __clang__
|
||||
// FIXME: Re-enable this when we can figure out why Clang gets confused about "unknown"
|
||||
#if 0
|
||||
# define CONSUMABLE(initial_state) __attribute__((consumable(initial_state)))
|
||||
# define CALLABLE_WHEN(...) __attribute__((callable_when(__VA_ARGS__)))
|
||||
# define SET_TYPESTATE(state) __attribute__((set_typestate(state)))
|
||||
|
|
Loading…
Reference in a new issue