[Webkit-unassigned] [Bug 40941] New: check-webkit-style falsely thinks template struct declaration is two statements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 21 13:58:25 PDT 2010


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

           Summary: check-webkit-style falsely thinks template struct
                    declaration is two statements
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sullivan at apple.com


>From the patch for <https://bugs.webkit.org/show_bug.cgi?id=40938>, check-webkit-style complained about this line:

    template<typename P> struct DefaultHash<RetainPtr<P> > { typedef PtrHash<RetainPtr<P> > Hash; };

The complaint was:


Failed to run "['WebKitTools/Scripts/check-webkit-style', '--no-squash']" exit_code: 1
JavaScriptCore/wtf/RetainPtr.h:219:  More than one command on the same line  [whitespace/newline] [4]


This is a false positive; there are not multiple commands on that line (though there are two semicolons).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list