Make style bot handle underscores in names more reasonably
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Jul 2012 20:06:57 +0000 (20:06 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Jul 2012 20:06:57 +0000 (20:06 +0000)
commit65e28d2abfb3d0d59cd5ff5cec2c2659d85f7225
treee64ef00cf55b42bccd2bfd7c86832108f5a1fe0e
parent645b78410348f4f6a21b8db48350c8372713de6b
Make style bot handle underscores in names more reasonably
https://bugs.webkit.org/show_bug.cgi?id=91777

Reviewed by Gavin Barraclough.

This patch adds a naming/readability/underscores category for style errors.
That allows us to use underscores in those portions of JSC (and potentially
gtk?) without turning off all naming checks for the effected directories.
We also filter out the DFG_OPERATION warning, and a few other minor changes
to make the style bot less noisy when running over JSC at least.

* Scripts/webkitpy/style/checker.py:
* Scripts/webkitpy/style/checkers/cpp.py:
(check_identifier_name_in_declaration):
(CppChecker):
* Scripts/webkitpy/style/checkers/cpp_unittest.py:
(WebKitStyleTest.test_names):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123141 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/webkitpy/style/checker.py
Tools/Scripts/webkitpy/style/checkers/cpp.py
Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py