Bug 314073

Summary: Define NODELETE only ifndef
Product: WebKit Reporter: adrian_taylor
Component: Web Template FrameworkAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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
Radar WebKit Bug Importer
Comment 1 2026-05-05 05:49:42 PDT
adrian_taylor
Comment 2 2026-05-05 05:51:43 PDT
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.