Bug 27559 - cpplint generates false positives with namespace and superclass initialization
Summary: cpplint generates false positives with namespace and superclass initialization
Status: RESOLVED DUPLICATE of bug 27567
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-22 13:11 PDT by Maxime Simon
Modified: 2009-07-22 23:05 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxime Simon 2009-07-22 13:11:11 PDT
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.”
Comment 1 Maxime Simon 2009-07-22 23:05:19 PDT

*** This bug has been marked as a duplicate of bug 27567 ***