[Webkit-unassigned] [Bug 27559] New: cpplint generates false positives with namespace and superclass initialization

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 22 13:11:11 PDT 2009


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

           Summary: cpplint generates false positives with namespace and
                    superclass initialization
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: simon.maxime at gmail.com
                CC: treat at kde.org


With something like:

namespace WebCore {

FooBar::FooBar([...])
    : BaseClass([...])
{
[...]

cpplint will complain on ": BaseClass".
But according to the coding style guideline:
“Each member (and superclass) should be indented on a separate line, with the
colon or comma preceding the member on that line.”

-- 
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