Bug 125982 - Not our style to have a space before the & and no space after the &.
Summary: Not our style to have a space before the & and no space after the &.
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: 2013-12-18 23:51 PST by Gergő Balogh
Modified: 2013-12-19 09:22 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 Gergő Balogh 2013-12-18 23:51:59 PST
example:
for (Option &option : optionlist) {
Comment 1 Ryosuke Niwa 2013-12-19 00:55:20 PST
No, our style is to do:

for (Option& option : optionlist) {

See http://www.webkit.org/coding/coding-style.html#pointers-cpp
Comment 2 Gergő Balogh 2013-12-19 06:05:15 PST
Yes, you are right, I was unclear. It meant to be an example for the error itself, not for the correct style.