[Webkit-unassigned] [Bug 157708] New: Extend protector naming code style guideline to cover RetainPtr with CF/ObjC types

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 13 22:30:09 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=157708

            Bug ID: 157708
           Summary: Extend protector naming code style guideline to cover
                    RetainPtr with CF/ObjC types
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: beidson at apple.com
                CC: lforschler at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160514/9362e71b/attachment-0001.html>


More information about the webkit-unassigned mailing list