Changeset 170565 in webkit
- Timestamp:
- Jun 27, 2014, 10:51:13 PM (11 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r170527 r170565 1 2014-06-27 Tim Horton <timothy_horton@apple.com> 2 3 check-webkit-style should check the order of #imports as well as #includes 4 https://bugs.webkit.org/show_bug.cgi?id=134428 5 6 Reviewed by Dan Bernstein. 7 8 * Scripts/webkitpy/style/checkers/cpp.py: 9 Allow "import" in addition to "include", so that the sort order of headers in ObjC files is checked. 10 1 11 2014-06-27 Michał Pakuła vel Rutka <m.pakula@samsung.com> 2 12 -
trunk/Tools/Scripts/webkitpy/style/checkers/cpp.py
r170152 r170565 2772 2772 2773 2773 2774 _RE_PATTERN_INCLUDE_NEW_STYLE = re.compile(r'# include+"[^/]+\.h"')2775 _RE_PATTERN_INCLUDE = re.compile(r'^\s*#\s* include\s*([<"])([^>"]*)[>"].*$')2774 _RE_PATTERN_INCLUDE_NEW_STYLE = re.compile(r'#(?:include|import) +"[^/]+\.h"') 2775 _RE_PATTERN_INCLUDE = re.compile(r'^\s*#\s*(?:include|import)\s*([<"])([^>"]*)[>"].*$') 2776 2776 # Matches the first component of a filename delimited by -s and _s. That is: 2777 2777 # _RE_FIRST_COMPONENT.match('foo').group(0) == 'foo'
Note:
See TracChangeset
for help on using the changeset viewer.