Bug 180334 - Stylebot should disallow RefPtr<> member variables from being initialized to nullptr
Summary: Stylebot should disallow RefPtr<> member variables from being initialized to ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-03 08:42 PST by Brady Eidson
Modified: 2017-12-03 08:42 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brady Eidson 2017-12-03 08:42:36 PST
Stylebot should disallow RefPtr<> member variables from being initialized to nullptr

Both in the form of:

class Foo {
    RefPtr<Bar> m_barPtr { nullptr };
};

and the form of:

Foo:Foo()
    : m_barPtr(nullptr)
{
}