| Summary: | Not our style to have a space before the & and no space after the &. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Gergő Balogh <gbalogh.u-szeged> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | darin, rniwa |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
No, our style is to do:
for (Option& option : optionlist) {
See http://www.webkit.org/coding/coding-style.html#pointers-cpp
Yes, you are right, I was unclear. It meant to be an example for the error itself, not for the correct style. |
example: for (Option &option : optionlist) {