Changeset 46235 in webkit
- Timestamp:
- Jul 22, 2009 1:18:50 PM (15 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r46233 r46235 1 2009-07-22 Jakob Petsovits <jakob.petsovits@torchmobile.com>2 3 Reviewed by Adam Treat.4 5 Case-insensitive comparison of include file order for cpplint.6 https://bugs.webkit.org/show_bug.cgi?id=275577 8 * Scripts/modules/cpplint.py:9 * Scripts/modules/cpplint_unittest.py:10 11 1 2009-07-22 Jakob Petsovits <jakob.petsovits@torchmobile.com> 12 2 -
trunk/WebKitTools/Scripts/modules/cpplint.py
r46233 r46235 2227 2227 if previous_match: 2228 2228 previous_header_type = include_state.header_types[previous_line_number] 2229 if previous_header_type == _OTHER_HEADER and previous_line.strip() .lower() > line.strip().lower():2229 if previous_header_type == _OTHER_HEADER and previous_line.strip() > line.strip(): 2230 2230 error(filename, line_number, 'build/include_order', 4, 2231 2231 'Alphabetical sorting problem.') -
trunk/WebKitTools/Scripts/modules/cpplint_unittest.py
r46233 r46235 2095 2095 2096 2096 self.assert_language_rules_check('foo.h', 2097 '#include "a.h"\n'2098 '#include "B.h"\n'2099 '#include "c.h"\n',2100 '')2101 2102 self.assert_language_rules_check('foo.h',2103 2097 '#include <assert.h>\n' 2104 2098 '#include "bar.h"\n',
Note: See TracChangeset
for help on using the changeset viewer.