[Webkit-unassigned] [Bug 53509] Modify the style check script to allow parameter names if they share the same type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 1 10:21:27 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=53509





--- Comment #1 from David Levin <levin at chromium.org>  2011-02-01 10:21:27 PST ---
Some tips:

The file to modify is Tools/Scripts/webkitpy/style/checkers/cpp.py The function which loops over the variables and does the check is check_function_definition. Right now _check_parameter_name_against_text is the function which does the error message on a per parameter basis, but that will have to change to do this fix.

The unit test is in Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py Look for the function test_parameter_names

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list