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

Issue 2639813002: --method-blocklist should also cover free functions. (Closed)

Created:
3 years, 11 months ago by Łukasz Anforowicz
Modified:
3 years, 11 months ago
Reviewers:
dcheng
CC:
chromium-reviews, danakj
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

--method-blocklist should also cover free functions. One example where this is needed is blink::DOMWindowTimers which: 1. implements WindowTimers.idl and 2. is a namespace containing free functions (not a class containing static methods). BUG=673039 Review-Url: https://codereview.chromium.org/2639813002 Cr-Commit-Position: refs/heads/master@{#444599} Committed: https://chromium.googlesource.com/chromium/src/+/694194cd5bd8e7ced0c59eac109f0033aa7e1f30

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -16 lines) Patch
M tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp View 5 chunks +17 lines, -12 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/blocked_methods.txt View 1 chunk +3 lines, -0 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/functions-expected.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/functions-original.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc View 1 chunk +1 line, -2 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/methods-original.cc View 1 chunk +1 line, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 10 (4 generated)
Łukasz Anforowicz
Daniel, can you PTAL?
3 years, 11 months ago (2017-01-18 00:23:54 UTC) #2
dcheng
It's not possible to have namespaces and classes collide, right?
3 years, 11 months ago (2017-01-19 00:14:25 UTC) #3
dcheng
(Also, LGTM)
3 years, 11 months ago (2017-01-19 00:14:52 UTC) #4
Łukasz Anforowicz
On 2017/01/19 00:14:25, dcheng wrote: > It's not possible to have namespaces and classes collide, ...
3 years, 11 months ago (2017-01-19 00:21:50 UTC) #5
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/2639813002/1
3 years, 11 months ago (2017-01-19 00:23:38 UTC) #7
commit-bot: I haz the power
3 years, 11 months ago (2017-01-19 01:59:08 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/694194cd5bd8e7ced0c59eac109f...

Powered by Google App Engine
This is Rietveld 408576698