-
mitz@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=121620 Reviewed by Anders Carlsson. Tools: * Scripts/webkitpy/style/checkers/cpp.py: (check_spacing): Added checking that there are spaces around the colon in a range-based for loop. (CppChecker): Added whitespace/colon to the categories set. * Scripts/webkitpy/style/checkers/cpp_unittest.py: (WebKitStyleTest.test_spacing): Added two tests for the new check. Websites/webkit.org: * coding/coding-style.html: Added the guideline that spaces should be placed around the colon in a range-based for loop. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156105 268f45cc-cd09-0410-ab3c-d52691b4dbfc
b5ce977a