WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
157708
Extend protector naming code style guideline to cover RetainPtr with CF/ObjC types
https://bugs.webkit.org/show_bug.cgi?id=157708
Summary
Extend protector naming code style guideline to cover RetainPtr with CF/ObjC ...
Brady Eidson
Reported
2016-05-13 22:30:09 PDT
Extend protector naming code style guideline to cover RetainPtr with CF/ObjC types This is a logical extension of
https://bugs.webkit.org/show_bug.cgi?id=157591
Allowed names should be like: RetainPtr<id> protectedSelf(self); RetainPtr<id> protector(view); RetainPtr<id> protectedView(view); RetainPtr<CFStringRef> protector(cfString); RetainPtr<CFStringRef> protectedCFString(cfString); A search through the current tree might also reveal common patterns with adoptNS and adoptCF that should also be accounted for.
Attachments
Add attachment
proposed patch, testcase, etc.
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