Bug 157708

Summary: Extend protector naming code style guideline to cover RetainPtr with CF/ObjC types
Product: WebKit Reporter: Brady Eidson <beidson>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: darin, lforschler
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=157591

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
Note You need to log in before you can comment on or make changes to this bug.