Changes between Version 8 and Version 9 of Coding Style Guidelines


Ignore:
Timestamp:
Aug 10, 2009 6:11:19 PM (12 years ago)
Author:
atwilson@chromium.org
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Coding Style Guidelines

    v8 v9  
    2828 }}}
    2929
    30  * Other braces including `for`, `while`, `do`, `switch` statements, as well as `class`, `struct` and `namespace` definitions — the open brace should go on the same line as the as the control structure.
     30 * Other braces including `for`, `while`, `do`, `switch` statements, as well as `class`, `struct` and `namespace` definitions — the open brace should go on the same line as the as the control structure. One-line for/while/do loops should not get braces.
    3131
    3232 '''Right:'''