Changeset 67722 in webkit
- Timestamp:
- Sep 17, 2010 10:20:13 AM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r67692 r67722 1 2010-09-17 Martin Robinson <mrobinson@igalia.com> 2 3 Reviewed by Oliver Hunt. 4 5 Style bot complains about cairo forward declaration naming 6 https://bugs.webkit.org/show_bug.cgi?id=45867 7 8 Exclude Cairo forward declarations from indentifiers with underscores checks. 9 10 * Scripts/webkitpy/style/checkers/cpp.py: Add exclusion for Cairo forward-declarations. 11 * Scripts/webkitpy/style/checkers/cpp_unittest.py: Add some tests for this. 12 1 13 2010-09-16 Kinuko Yasuda <kinuko@chromium.org> 2 14 -
trunk/WebKitTools/Scripts/webkitpy/style/checkers/cpp.py
r64718 r67722 2520 2520 and not modified_identifier.startswith('NP_') 2521 2521 and not modified_identifier.startswith('qt_') 2522 and not modified_identifier.startswith('cairo_') 2522 2523 and not modified_identifier.find('::qt_') >= 0 2523 2524 and not modified_identifier == "const_iterator"): -
trunk/WebKitTools/Scripts/webkitpy/style/checkers/cpp_unittest.py
r64718 r67722 3704 3704 self.assert_lint('void qt_drt_is_awesome(int var1, int var2);', '') 3705 3705 3706 # Cairo forward-declarations should not be a failure. 3707 self.assert_lint('typedef struct _cairo cairo_t;', '') 3708 self.assert_lint('typedef struct _cairo_surface cairo_surface_t;', '') 3709 self.assert_lint('typedef struct _cairo_scaled_font cairo_scaled_font_t;', '') 3710 3706 3711 # NPAPI functions that start with NPN_, NPP_ or NP_ are allowed. 3707 3712 self.assert_lint('void NPN_Status(NPP, const char*)', '')
Note: See TracChangeset
for help on using the changeset viewer.