Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Issue 11364156: PRESUBMIT.py: Check #include file order. (Closed)

Created:
8 years, 1 month ago by marja
Modified:
8 years, 1 month ago
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : . #

Total comments: 6

Patch Set 3 : Code review (maruel) #

Total comments: 2

Patch Set 4 : fix (oops) & code review #

Total comments: 4

Patch Set 5 : code review (maruel) #

Total comments: 1

Patch Set 6 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -0 lines) Patch
M PRESUBMIT.py View 1 2 3 4 3 chunks +123 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
marja
Hi maruel, I seem to be unable to get the #include order right in my ...
8 years, 1 month ago (2012-11-08 18:28:13 UTC) #1
M-A Ruel
It seems to be quite duplicating cpplint. I'd like Elliot to take a look. https://codereview.chromium.org/11364156/diff/2001/PRESUBMIT.py ...
8 years, 1 month ago (2012-11-08 18:46:20 UTC) #2
marja
On 2012/11/08 18:46:20, Marc-Antoine Ruel wrote: > It seems to be quite duplicating cpplint. I'd ...
8 years, 1 month ago (2012-11-08 19:05:24 UTC) #3
Elliot Glaysher
On 2012/11/08 19:05:24, marja wrote: > On 2012/11/08 18:46:20, Marc-Antoine Ruel wrote: > > It ...
8 years, 1 month ago (2012-11-08 19:23:55 UTC) #4
marja
Yeah, cpplint chokes at least when there are #ifdefs, whereas this CL should process them ...
8 years, 1 month ago (2012-11-08 19:26:36 UTC) #5
M-A Ruel
https://codereview.chromium.org/11364156/diff/2001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/11364156/diff/2001/PRESUBMIT.py#newcode520 PRESUBMIT.py:520: cpp_system_include_seen = False You should use a one-variable state ...
8 years, 1 month ago (2012-11-13 01:55:59 UTC) #6
marja
Thanks for comments! http://codereview.chromium.org/11364156/diff/2001/PRESUBMIT.py File PRESUBMIT.py (right): http://codereview.chromium.org/11364156/diff/2001/PRESUBMIT.py#newcode520 PRESUBMIT.py:520: cpp_system_include_seen = False On 2012/11/13 01:55:59, ...
8 years, 1 month ago (2012-11-13 17:30:19 UTC) #7
M-A Ruel
https://codereview.chromium.org/11364156/diff/9001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/11364156/diff/9001/PRESUBMIT.py#newcode520 PRESUBMIT.py:520: class State: C_SYSTEM_INCLUDES, CPP_SYSTEM_INCLUDES, CUSTOM_INCLUDES = range(3) and you ...
8 years, 1 month ago (2012-11-13 18:05:14 UTC) #8
marja
Oops! :/ Yes, now tested also with data that makes it go into that branch. ...
8 years, 1 month ago (2012-11-13 18:12:47 UTC) #9
M-A Ruel
lgtm https://codereview.chromium.org/11364156/diff/14001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/11364156/diff/14001/PRESUBMIT.py#newcode520 PRESUBMIT.py:520: class State: No need for class State at ...
8 years, 1 month ago (2012-11-13 18:18:01 UTC) #10
marja
Thanks for review! http://codereview.chromium.org/11364156/diff/14001/PRESUBMIT.py File PRESUBMIT.py (right): http://codereview.chromium.org/11364156/diff/14001/PRESUBMIT.py#newcode520 PRESUBMIT.py:520: class State: On 2012/11/13 18:18:01, Marc-Antoine ...
8 years, 1 month ago (2012-11-13 18:24:56 UTC) #11
marja
(And I'll commit this tomorrow morning (UTC+1) when I'm at work again; in case it ...
8 years, 1 month ago (2012-11-13 18:32:16 UTC) #12
tfarina
8 years, 1 month ago (2012-11-13 19:22:42 UTC) #13

Powered by Google App Engine
This is Rietveld 408576698