Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Issue 11418128: PRESUBMIT #include check enhancement: <sys/..> includes can be in any order. (Closed)

Created:
8 years, 1 month ago by marja
Modified:
8 years, 1 month ago
Reviewers:
M-A Ruel
CC:
chromium-reviews
Visibility:
Public.

Description

PRESUBMIT #include check enhancement: <sys/..> includes can be in any order. E.g., need to be in this order, since the latter uses definitions from the former. BUG=NONE Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=169290

Patch Set 1 #

Total comments: 2

Patch Set 2 : Code review (maruel) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -2 lines) Patch
M PRESUBMIT.py View 1 2 chunks +6 lines, -2 lines 0 comments Download
M PRESUBMIT_test.py View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
marja
Hi maruel, the #include check seems to be too strict regarding <sys/..> includes. An alternative ...
8 years, 1 month ago (2012-11-22 09:16:37 UTC) #1
M-A Ruel
On 2012/11/22 09:16:37, marja wrote: > An alternative approach would've been to add some > ...
8 years, 1 month ago (2012-11-22 14:36:51 UTC) #2
marja
Thanks for comments! https://codereview.chromium.org/11418128/diff/1/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/11418128/diff/1/PRESUBMIT.py#newcode561 PRESUBMIT.py:561: # Exclude #include <sys/...> includes from ...
8 years, 1 month ago (2012-11-22 18:08:53 UTC) #3
M-A Ruel
8 years, 1 month ago (2012-11-22 18:11:08 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698