Bug 128134 - check-webkit-style should complain about calling zero-parameter constructor with parentheses
Summary: check-webkit-style should complain about calling zero-parameter constructor w...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-03 15:50 PST by BJ Burg
Modified: 2014-02-03 15:50 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BJ Burg 2014-02-03 15:50:50 PST
Given the constructor

    EmptyInputCursor() { }


Good:

    static PassRefPtr<EmptyInputCursor> create()
    {
        return adoptRef(new EmptyInputCursor);
    }


Bad:

    static PassRefPtr<EmptyInputCursor> create()
    {
        return adoptRef(new EmptyInputCursor());
    }