Bug 27559
| Summary: | cpplint generates false positives with namespace and superclass initialization | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Maxime Simon <simon.maxime> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | manyoso |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | All | ||
Maxime Simon
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.”
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Maxime Simon
*** This bug has been marked as a duplicate of bug 27567 ***