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

Issue 10853012: Add cc/ to banned_directories in chromium clang style checker (Closed)

Created:
8 years, 4 months ago by jamesr
Modified:
8 years, 4 months ago
CC:
chromium-reviews, pam+watch_chromium.org
Visibility:
Public.

Description

Add cc/ to banned_directories in chromium clang style checker The chromium compositor code will be imported from WebKit into this directory soon. Since it's WebKit style, it doesn't currently adhere to all of the clang style checks. This adds a temporary exemption so we don't spam the heck out of everyone while we clean things up. BUG=none NOTRY=true Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150013

Patch Set 1 #

Total comments: 2

Patch Set 2 : with command line flag guard #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -7 lines) Patch
M tools/clang/plugins/ChromeClassTester.h View 1 2 chunks +5 lines, -1 line 0 comments Download
M tools/clang/plugins/ChromeClassTester.cpp View 1 2 chunks +7 lines, -2 lines 0 comments Download
M tools/clang/plugins/FindBadConstructs.cpp View 1 5 chunks +9 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
jamesr
8 years, 4 months ago (2012-08-04 00:42:31 UTC) #1
Nico
https://chromiumcodereview.appspot.com/10853012/diff/1/tools/clang/plugins/ChromeClassTester.cpp File tools/clang/plugins/ChromeClassTester.cpp (right): https://chromiumcodereview.appspot.com/10853012/diff/1/tools/clang/plugins/ChromeClassTester.cpp#newcode165 tools/clang/plugins/ChromeClassTester.cpp:165: banned_directories_.push_back("cc/"); Do you want to make this conditional on ...
8 years, 4 months ago (2012-08-04 00:51:09 UTC) #2
jamesr
https://chromiumcodereview.appspot.com/10853012/diff/1/tools/clang/plugins/ChromeClassTester.cpp File tools/clang/plugins/ChromeClassTester.cpp (right): https://chromiumcodereview.appspot.com/10853012/diff/1/tools/clang/plugins/ChromeClassTester.cpp#newcode165 tools/clang/plugins/ChromeClassTester.cpp:165: banned_directories_.push_back("cc/"); On 2012/08/04 00:51:09, Nico wrote: > Do you ...
8 years, 4 months ago (2012-08-04 00:52:10 UTC) #3
Nico
On 2012/08/04 00:52:10, jamesr wrote: > https://chromiumcodereview.appspot.com/10853012/diff/1/tools/clang/plugins/ChromeClassTester.cpp > File tools/clang/plugins/ChromeClassTester.cpp (right): > > https://chromiumcodereview.appspot.com/10853012/diff/1/tools/clang/plugins/ChromeClassTester.cpp#newcode165 > ...
8 years, 4 months ago (2012-08-04 00:57:22 UTC) #4
jamesr
This appears to work, based on some basic local checks. I like it that you ...
8 years, 4 months ago (2012-08-04 01:45:26 UTC) #5
Nico
lgtm Yes, the 4 arguments kinda suck! That's because plugins are currently only a cc1 ...
8 years, 4 months ago (2012-08-04 02:01:39 UTC) #6
Nico
(ps: there's no point in cq'ing this as the cqs don't test plugin source changes)
8 years, 4 months ago (2012-08-04 02:01:58 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/10853012/4002
8 years, 4 months ago (2012-08-04 02:54:02 UTC) #8
jamesr
On 2012/08/04 02:01:58, Nico wrote: > (ps: there's no point in cq'ing this as the ...
8 years, 4 months ago (2012-08-04 02:54:20 UTC) #9
commit-bot: I haz the power
Try job failure for 10853012-4002 (retry) (retry) on win_rel for step "compile" (clobber build). It's ...
8 years, 4 months ago (2012-08-04 04:31:46 UTC) #10
Nico
lolololol You can add NOTRY=true when you cq to be even more a rebel.
8 years, 4 months ago (2012-08-04 04:37:38 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/10853012/4002
8 years, 4 months ago (2012-08-04 04:40:25 UTC) #12
commit-bot: I haz the power
8 years, 4 months ago (2012-08-04 04:40:35 UTC) #13
Change committed as 150013

Powered by Google App Engine
This is Rietveld 408576698