Changeset 46235 in webkit


Ignore:
Timestamp:
Jul 22, 2009 1:18:50 PM (15 years ago)
Author:
treat@webkit.org
Message:

Revert bugfix for 27557 as this is invalid according to Darin Adler
who states that include order sorting should be case-sensitive.

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=27557
    7 
    8         * Scripts/modules/cpplint.py:
    9         * Scripts/modules/cpplint_unittest.py:
    10 
    1112009-07-22  Jakob Petsovits  <jakob.petsovits@torchmobile.com>
    122
  • trunk/WebKitTools/Scripts/modules/cpplint.py

    r46233 r46235  
    22272227                 if previous_match:
    22282228                    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():
    22302230                        error(filename, line_number, 'build/include_order', 4,
    22312231                              'Alphabetical sorting problem.')
  • trunk/WebKitTools/Scripts/modules/cpplint_unittest.py

    r46233 r46235  
    20952095
    20962096        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',
    21032097                                         '#include <assert.h>\n'
    21042098                                         '#include "bar.h"\n',
Note: See TracChangeset for help on using the changeset viewer.