WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
263580
Use 'auto' when calling a function that returns a RetainPtr<>
https://bugs.webkit.org/show_bug.cgi?id=263580
Summary
Use 'auto' when calling a function that returns a RetainPtr<>
Simon Fraser (smfr)
Reported
2023-10-23 21:13:35 PDT
Using 'auto' on the LHS of an assignment of the result of a function that returns a RetainPtr<> makes style checking for incorrect RetainPtr use easier.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-10-23 21:13:51 PDT
<
rdar://problem/117389828
>
Simon Fraser (smfr)
Comment 2
2023-10-23 21:17:37 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/19473
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