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

Issue 2749043004: Clang plugin: Support for Blink in web/. (Closed)

Created:
3 years, 9 months ago by tkent
Modified:
3 years, 8 months ago
CC:
chromium-reviews, hans, Nico
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Clang plugin: Detect Blink code by "blink" or "WTF" namespace We used to detect Blink code by paths including third_party/WebKit, and it won't work if we move the Blink code to elsewhere. This CL removes the patch check for third_party/WebKit, and adds namespace checks instead. BUG=622551 Review-Url: https://codereview.chromium.org/2749043004 Cr-Commit-Position: refs/heads/master@{#465175} Committed: https://chromium.googlesource.com/chromium/src/+/f9774e4bbc3820cff53edeb95f5562ae69dc391a

Patch Set 1 #

Total comments: 2

Patch Set 2 : add comments #

Patch Set 3 : rebase #

Total comments: 3

Patch Set 4 : plugin argument approach #

Total comments: 2

Patch Set 5 : namespace approach #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -28 lines) Patch
M tools/clang/plugins/ChromeClassTester.h View 1 2 3 4 2 chunks +2 lines, -4 lines 0 comments Download
M tools/clang/plugins/ChromeClassTester.cpp View 1 2 3 4 4 chunks +7 lines, -14 lines 0 comments Download
M tools/clang/plugins/FindBadConstructsConsumer.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M tools/clang/plugins/FindBadConstructsConsumer.cpp View 1 2 3 4 6 chunks +12 lines, -10 lines 0 comments Download

Messages

Total messages: 50 (27 generated)
tkent
avi@, dcheng@, would you review this please?
3 years, 9 months ago (2017-03-15 23:59:05 UTC) #6
dcheng
I actually have a CL in-progress right now to enable more checks in Blink. Would ...
3 years, 9 months ago (2017-03-16 00:05:19 UTC) #8
tkent
On 2017/03/16 at 00:05:19, dcheng wrote: > I actually have a CL in-progress right now ...
3 years, 9 months ago (2017-03-16 00:16:21 UTC) #9
Avi (use Gerrit)
This LGTM; do whatever you need to make Daniel happy. https://codereview.chromium.org/2749043004/diff/1/tools/clang/plugins/ChromeClassTester.cpp File tools/clang/plugins/ChromeClassTester.cpp (right): https://codereview.chromium.org/2749043004/diff/1/tools/clang/plugins/ChromeClassTester.cpp#newcode245 ...
3 years, 9 months ago (2017-03-16 00:33:18 UTC) #10
tkent
https://codereview.chromium.org/2749043004/diff/1/tools/clang/plugins/ChromeClassTester.cpp File tools/clang/plugins/ChromeClassTester.cpp (right): https://codereview.chromium.org/2749043004/diff/1/tools/clang/plugins/ChromeClassTester.cpp#newcode245 tools/clang/plugins/ChromeClassTester.cpp:245: } On 2017/03/16 at 00:33:18, Avi wrote: > To ...
3 years, 9 months ago (2017-03-16 00:35:58 UTC) #11
tkent
On 2017/03/16 at 00:16:21, tkent wrote: > On 2017/03/16 at 00:05:19, dcheng wrote: > > ...
3 years, 8 months ago (2017-03-28 00:39:27 UTC) #12
dcheng
On 2017/03/28 00:39:27, tkent wrote: > On 2017/03/16 at 00:16:21, tkent wrote: > > On ...
3 years, 8 months ago (2017-03-29 00:32:12 UTC) #13
tkent
did rebase. dcheng@, would you review this please?
3 years, 8 months ago (2017-04-12 23:26:52 UTC) #15
dcheng
https://codereview.chromium.org/2749043004/diff/40001/tools/clang/plugins/ChromeClassTester.cpp File tools/clang/plugins/ChromeClassTester.cpp (right): https://codereview.chromium.org/2749043004/diff/40001/tools/clang/plugins/ChromeClassTester.cpp#newcode237 tools/clang/plugins/ChromeClassTester.cpp:237: blink_directories_.emplace("/web/"); Is it possible that this will cause us ...
3 years, 8 months ago (2017-04-12 23:35:27 UTC) #18
tkent
https://codereview.chromium.org/2749043004/diff/40001/tools/clang/plugins/ChromeClassTester.cpp File tools/clang/plugins/ChromeClassTester.cpp (right): https://codereview.chromium.org/2749043004/diff/40001/tools/clang/plugins/ChromeClassTester.cpp#newcode237 tools/clang/plugins/ChromeClassTester.cpp:237: blink_directories_.emplace("/web/"); On 2017/04/12 at 23:35:27, dcheng wrote: > Is ...
3 years, 8 months ago (2017-04-13 00:18:00 UTC) #21
tkent
https://codereview.chromium.org/2749043004/diff/40001/tools/clang/plugins/ChromeClassTester.cpp File tools/clang/plugins/ChromeClassTester.cpp (right): https://codereview.chromium.org/2749043004/diff/40001/tools/clang/plugins/ChromeClassTester.cpp#newcode237 tools/clang/plugins/ChromeClassTester.cpp:237: blink_directories_.emplace("/web/"); On 2017/04/13 at 00:18:00, tkent wrote: > On ...
3 years, 8 months ago (2017-04-13 00:32:38 UTC) #22
dcheng
On 2017/04/13 00:32:38, tkent wrote: > https://codereview.chromium.org/2749043004/diff/40001/tools/clang/plugins/ChromeClassTester.cpp > File tools/clang/plugins/ChromeClassTester.cpp (right): > > https://codereview.chromium.org/2749043004/diff/40001/tools/clang/plugins/ChromeClassTester.cpp#newcode237 > ...
3 years, 8 months ago (2017-04-13 02:49:32 UTC) #23
tkent
> > > > Is it possible that this will cause us to match things ...
3 years, 8 months ago (2017-04-13 03:56:00 UTC) #24
tkent
On 2017/04/13 at 03:56:00, tkent wrote: > > > I think switching behavior by a ...
3 years, 8 months ago (2017-04-17 00:46:32 UTC) #27
dcheng
https://codereview.chromium.org/2749043004/diff/60001/tools/clang/plugins/ChromeClassTester.cpp File tools/clang/plugins/ChromeClassTester.cpp (right): https://codereview.chromium.org/2749043004/diff/60001/tools/clang/plugins/ChromeClassTester.cpp#newcode160 tools/clang/plugins/ChromeClassTester.cpp:160: if (options_.check_for_blink) Hmm, so the potential issue with this ...
3 years, 8 months ago (2017-04-17 02:41:00 UTC) #31
dcheng
On 2017/04/17 02:41:00, dcheng wrote: > https://codereview.chromium.org/2749043004/diff/60001/tools/clang/plugins/ChromeClassTester.cpp > File tools/clang/plugins/ChromeClassTester.cpp (right): > > https://codereview.chromium.org/2749043004/diff/60001/tools/clang/plugins/ChromeClassTester.cpp#newcode160 > ...
3 years, 8 months ago (2017-04-17 03:11:07 UTC) #32
tkent
https://codereview.chromium.org/2749043004/diff/60001/tools/clang/plugins/ChromeClassTester.cpp File tools/clang/plugins/ChromeClassTester.cpp (right): https://codereview.chromium.org/2749043004/diff/60001/tools/clang/plugins/ChromeClassTester.cpp#newcode160 tools/clang/plugins/ChromeClassTester.cpp:160: if (options_.check_for_blink) On 2017/04/17 at 02:40:57, dcheng wrote: > ...
3 years, 8 months ago (2017-04-17 08:00:23 UTC) #37
dcheng
LGTM, but please check two things: 1) How does this affect build times locally? It's ...
3 years, 8 months ago (2017-04-17 17:39:07 UTC) #38
Nico
No trybot. On Apr 17, 2017 1:39 PM, <dcheng@chromium.org> wrote: > LGTM, but please check ...
3 years, 8 months ago (2017-04-17 17:42:19 UTC) #39
tkent
On 2017/04/17 at 17:39:07, dcheng wrote: > LGTM, but please check two things: > > ...
3 years, 8 months ago (2017-04-18 08:09:09 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2749043004/80001
3 years, 8 months ago (2017-04-18 08:09:52 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2749043004/80001
3 years, 8 months ago (2017-04-18 08:13:58 UTC) #47
commit-bot: I haz the power
3 years, 8 months ago (2017-04-18 08:22:36 UTC) #50
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/f9774e4bbc3820cff53edeb95f55...

Powered by Google App Engine
This is Rietveld 408576698