Changeset 85068 in webkit
- Timestamp:
- Apr 27, 2011 11:35:50 AM (13 years ago)
- Location:
- trunk/Websites/webkit.org
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Websites/webkit.org/ChangeLog
r85008 r85068 1 2011-04-27 Ojan Vafai <ojan@chromium.org> 2 3 Reviewed by Dan Bernstein. 4 5 change style guide to pre-increment in for-loops 6 https://bugs.webkit.org/show_bug.cgi?id=59619 7 8 This matches what a number of reviewers have been asking 9 for in code reviews. 10 11 * coding/coding-style.html: 12 1 13 2011-04-26 Carol Szabo <carol.szabo@nokia.com> 2 14 -
trunk/Websites/webkit.org/coding/coding-style.html
r83127 r85068 186 186 <h4 class="right">Right:</h4> 187 187 <pre class="code"> 188 for (int i = 0; i < 10; i++)188 for (int i = 0; i < 10; ++i) 189 189 doSomething(); 190 190 … … 194 194 <h4 class="wrong">Wrong:</h4> 195 195 <pre class="code"> 196 for (int i = 0 ; i < 10 ; i++)196 for (int i = 0 ; i < 10 ; ++i) 197 197 doSomething(); 198 198 … … 341 341 } 342 342 343 for (int i = 0; i < 10; i++) {343 for (int i = 0; i < 10; ++i) { 344 344 ... 345 345 }
Note: See TracChangeset
for help on using the changeset viewer.