Bug 176058

Summary: [Code Style] Use uniform initializer syntax in member initializer list
Product: WebKit Reporter: Daniel Bates <dbates>
Component: WebKit WebsiteAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: andersca, annulen, darin, jond
Priority: P2    
Version: WebKit Local Build   
Hardware: All   
OS: All   
URL: https://lists.webkit.org/pipermail/webkit-dev/2017-August/029471.html
Attachments:
Description Flags
Patch none

Attachments
Patch (1.81 KB, patch)
2017-08-29 10:55 PDT, Daniel Bates
no flags
Daniel Bates
Comment 1 2017-08-29 10:55:05 PDT
Daniel Bates
Comment 2 2017-08-29 10:57:20 PDT
Comment on attachment 319261 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=319261&action=review > Websites/webkit.org/code-style.md:-763 > - : MySuperClass() We also prefer to omit calling the default base class constructor (as the compiler will emit code to do this for us). I did not change the example to reflect this. Let me know if I should.
Konstantin Tokarev
Comment 3 2017-08-29 11:19:06 PDT
Comment on attachment 319261 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=319261&action=review >> Websites/webkit.org/code-style.md:-763 >> - : MySuperClass() > > We also prefer to omit calling the default base class constructor (as the compiler will emit code to do this for us). I did not change the example to reflect this. Let me know if I should. It may make sense to add arguments to base class ctor to avoid cofusion
Darin Adler
Comment 4 2017-08-29 16:11:12 PDT
Comment on attachment 319261 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=319261&action=review >>> Websites/webkit.org/code-style.md:-763 >>> - : MySuperClass() >> >> We also prefer to omit calling the default base class constructor (as the compiler will emit code to do this for us). I did not change the example to reflect this. Let me know if I should. > > It may make sense to add arguments to base class ctor to avoid cofusion I think we should.
Daniel Bates
Comment 5 2019-05-15 23:07:29 PDT
There appears to be no ❤️ to solidify this in the style guide. Makes me 😢. Maybe one day. Let's just move on.
Note You need to log in before you can comment on or make changes to this bug.