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

Issue 7834045: Add lint check against "Foo *bar" and "Foo &bar" declarations. (Closed)

Created:
9 years, 3 months ago by Alexei Svitkine (slow)
Modified:
9 years, 3 months ago
CC:
chromium-reviews, Dirk Pranke
Visibility:
Public.

Description

Add lint check against "Foo *bar" and "Foo &bar" declarations. Depends on extension mechanism for cpplint.py: http://codereview.appspot.com/4950069/ Pulls r74 of cpplint.py from: http://google-styleguide.googlecode.com/svn-history/r74/trunk/cpplint/cpplint.py Taken from WebKit's fork of cpplint.py. WebKit patch was: http://trac.webkit.org/changeset/46856 Credit Torch Mobile, Inc. who have contributed the WebKit patch in question. BUG=none TEST=Run gcl lint on a CL that has a Foo *bar style declaration. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=100151

Patch Set 1 : '' #

Patch Set 2 : '' #

Total comments: 6

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+357 lines, -83 lines) Patch
M cpplint.py View 1 2 3 4 5 6 7 42 chunks +303 lines, -82 lines 0 comments Download
A cpplint_chromium.py View 1 2 1 chunk +50 lines, -0 lines 0 comments Download
M gcl.py View 1 2 3 4 5 6 7 3 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 24 (0 generated)
Alexei Svitkine (slow)
9 years, 3 months ago (2011-09-06 15:59:30 UTC) #1
M-A Ruel
Elliot manages this file.
9 years, 3 months ago (2011-09-06 16:03:20 UTC) #2
Elliot Glaysher
On 2011/09/06 16:03:20, Marc-Antoine Ruel wrote: > Elliot manages this file. This isn't the canonical ...
9 years, 3 months ago (2011-09-06 17:34:14 UTC) #3
Alexei Svitkine (slow)
Looks like the regular google style guide allows both "int *foo" and "int* foo", so ...
9 years, 3 months ago (2011-09-07 15:00:01 UTC) #4
Elliot Glaysher
Realistically, I have no problem just reverting the revert and committing your original patch upstream. ...
9 years, 3 months ago (2011-09-07 18:09:59 UTC) #5
M-A Ruel
http://codereview.chromium.org/7834045/diff/8001/cpplint_chromium.py File cpplint_chromium.py (right): http://codereview.chromium.org/7834045/diff/8001/cpplint_chromium.py#newcode1 cpplint_chromium.py:1: #!/usr/bin/python2.4 Ugh? Why this copyright? Where did you copy ...
9 years, 3 months ago (2011-09-07 19:18:29 UTC) #6
Alexei Svitkine (slow)
http://codereview.chromium.org/7834045/diff/8001/cpplint_chromium.py File cpplint_chromium.py (right): http://codereview.chromium.org/7834045/diff/8001/cpplint_chromium.py#newcode1 cpplint_chromium.py:1: #!/usr/bin/python2.4 On 2011/09/07 19:18:29, Marc-Antoine Ruel wrote: > Ugh? ...
9 years, 3 months ago (2011-09-07 19:46:06 UTC) #7
M-A Ruel
http://codereview.chromium.org/7834045/diff/8001/cpplint_chromium.py File cpplint_chromium.py (right): http://codereview.chromium.org/7834045/diff/8001/cpplint_chromium.py#newcode1 cpplint_chromium.py:1: #!/usr/bin/python2.4 On 2011/09/07 19:46:06, Alexei Svitkine wrote: > On ...
9 years, 3 months ago (2011-09-07 19:52:07 UTC) #8
Alexei Svitkine (slow)
On 2011/09/07 18:09:59, Elliot Glaysher wrote: > Realistically, I have no problem just reverting the ...
9 years, 3 months ago (2011-09-07 20:00:37 UTC) #9
Elliot Glaysher
On Wed, Sep 7, 2011 at 1:00 PM, <asvitkine@chromium.org> wrote: > On 2011/09/07 18:09:59, Elliot ...
9 years, 3 months ago (2011-09-07 20:09:28 UTC) #10
Alexei Svitkine (slow)
http://codereview.chromium.org/7834045/diff/8001/cpplint_chromium.py File cpplint_chromium.py (right): http://codereview.chromium.org/7834045/diff/8001/cpplint_chromium.py#newcode1 cpplint_chromium.py:1: #!/usr/bin/python2.4 On 2011/09/07 19:52:07, Marc-Antoine Ruel wrote: > On ...
9 years, 3 months ago (2011-09-07 20:27:57 UTC) #11
M-A Ruel
lgtm but I don't think "cpplint_chromium.py" will pass the presubmit check, you'll have to add ...
9 years, 3 months ago (2011-09-07 20:30:40 UTC) #12
Elliot Glaysher
On 2011/09/07 20:30:40, Marc-Antoine Ruel wrote: > Elliot, I think it'd be better to move ...
9 years, 3 months ago (2011-09-07 20:38:49 UTC) #13
M-A Ruel
On 2011/09/07 20:38:49, Elliot Glaysher wrote: > On 2011/09/07 20:30:40, Marc-Antoine Ruel wrote: > > ...
9 years, 3 months ago (2011-09-07 20:42:55 UTC) #14
Elliot Glaysher
On 2011/09/07 20:42:55, Marc-Antoine Ruel wrote: > On 2011/09/07 20:38:49, Elliot Glaysher wrote: > > ...
9 years, 3 months ago (2011-09-07 20:45:38 UTC) #15
Alexei Svitkine (slow)
> Oh, in that case sure. Alexei, feel free to do that to silence the ...
9 years, 3 months ago (2011-09-07 20:48:05 UTC) #16
M-A Ruel
Le 7 septembre 2011 16:45, <erg@chromium.org> a écrit : > Oh, in that case sure. ...
9 years, 3 months ago (2011-09-07 20:48:10 UTC) #17
Alexei Svitkine (slow)
On 2011/09/07 20:48:10, Marc-Antoine Ruel wrote: > Le 7 septembre 2011 16:45, <https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=erg@chromium.org> a écrit ...
9 years, 3 months ago (2011-09-07 20:52:05 UTC) #18
M-A Ruel
cpplint.py is not in this change anymore?
9 years, 3 months ago (2011-09-07 21:44:26 UTC) #19
Alexei Svitkine (slow)
On 2011/09/07 21:44:26, Marc-Antoine Ruel wrote: > cpplint.py is not in this change anymore? I've ...
9 years, 3 months ago (2011-09-08 13:13:55 UTC) #20
M-A Ruel
lgtm
9 years, 3 months ago (2011-09-08 13:14:37 UTC) #21
commit-bot: I haz the power
Can't process patch for file cpplint_chromium.py. Failed to parse svn properties.
9 years, 3 months ago (2011-09-08 13:15:58 UTC) #22
commit-bot: I haz the power
Can't process patch for file cpplint_chromium.py. Failed to parse svn properties.
9 years, 3 months ago (2011-09-08 15:27:06 UTC) #23
commit-bot: I haz the power
9 years, 3 months ago (2011-09-08 15:34:48 UTC) #24
Change committed as 100151

Powered by Google App Engine
This is Rietveld 408576698