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
305278
Apply LIFETIME_BOUND attribute consistently on both declaration and definition of methods
https://bugs.webkit.org/show_bug.cgi?id=305278
Summary
Apply LIFETIME_BOUND attribute consistently on both declaration and definitio...
David Kilzer (:ddkilzer)
Reported
2026-01-10 17:51:47 PST
Apply LIFETIME_BOUND attribute consistently on both declaration and definition of methods. Due to this bug in clang, the `[[clang::lifetimebound]]` attribute is sometimes ignore if not consistently applied to both the declaration and definition (implementation) of a method: [[clang::lifetimebound]] is ignored in some cases when declaration and definition do not apply the attribute consistently <
https://github.com/llvm/llvm-project/issues/175391
> This list was found by implementing a `-Wmissing-lifetimebound` warning locally in clang, then fixing all the warnings.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-01-10 17:52:02 PST
<
rdar://problem/167920705
>
David Kilzer (:ddkilzer)
Comment 2
2026-01-11 10:26:32 PST
Pull request:
https://github.com/WebKit/WebKit/pull/56423
EWS
Comment 3
2026-01-12 15:08:46 PST
Committed
305483@main
(a92bc6cb0dcc): <
https://commits.webkit.org/305483@main
> Reviewed commits have been landed. Closing PR #56423 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