WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
314073
Define NODELETE only ifndef
https://bugs.webkit.org/show_bug.cgi?id=314073
Summary
Define NODELETE only ifndef
adrian_taylor
Reported
2026-05-05 05:49:34 PDT
NODELETE expands to [[clang::annotate_type("webkit.nodelete")]]. Swift's embedded Clang 21 rejects this annotation on function declarations, at least on GTK platforms, causing the Swift clang importer to fail. Adding ifndef here allows us to override the definition on those platforms.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-05-05 05:49:42 PDT
<
rdar://problem/176259942
>
adrian_taylor
Comment 2
2026-05-05 05:51:43 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/64261
EWS
Comment 3
2026-05-07 16:19:43 PDT
Committed
312840@main
(e1071e15204c): <
https://commits.webkit.org/312840@main
> Reviewed commits have been landed. Closing PR #64261 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug