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

Issue 2627003003: Add --idl-methods <filepath> parameter for skipping renaming of IDL methods. (Closed)

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

Description

Adding --method-blocklist <filepath> parameter to skip renaming of IDL methods. BUG=673039 Review-Url: https://codereview.chromium.org/2627003003 Cr-Commit-Position: refs/heads/master@{#444205} Committed: https://chromium.googlesource.com/chromium/src/+/f2ee38a98ac32d112cb9092bb66ac0164adbb92c

Patch Set 1 #

Patch Set 2 : Tweaking a comment. #

Patch Set 3 : Covering static methods multiple method arities. #

Total comments: 19

Patch Set 4 : Addressed CR feedback from dcheng@. #

Patch Set 5 : Rebasing + minor tweak in MethodBlocklist constructor to support no cmdline arg (which makes ad-hoc… #

Patch Set 6 : Handling of optional args + template tests. #

Patch Set 7 : Being more whitespace-friendly. #

Total comments: 10

Patch Set 8 : Addressed remaining CR feedback from dcheng@. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -3 lines) Patch
M tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp View 1 2 3 4 5 6 7 5 chunks +119 lines, -1 line 0 comments Download
A tools/clang/rewrite_to_chrome_style/tests/blocked_methods.txt View 1 2 3 4 5 6 1 chunk +16 lines, -0 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc View 1 2 3 4 5 1 chunk +36 lines, -0 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/methods-original.cc View 1 2 3 4 5 1 chunk +36 lines, -0 lines 0 comments Download
A tools/clang/rewrite_to_chrome_style/tests/run_tool.args View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M tools/clang/scripts/test_tool.py View 1 2 3 4 2 chunks +11 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (6 generated)
Łukasz Anforowicz
Daniel, can you PTAL?
3 years, 11 months ago (2017-01-11 21:13:48 UTC) #2
dcheng
https://codereview.chromium.org/2627003003/diff/40001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2627003003/diff/40001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode85 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:85: class IdlMatcherState { Nit: MethodBlocklist https://codereview.chromium.org/2627003003/diff/40001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode91 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:91: // should ...
3 years, 11 months ago (2017-01-12 11:00:59 UTC) #3
Łukasz Anforowicz
Thanks for the feedback. Can you take another look please? https://codereview.chromium.org/2627003003/diff/40001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2627003003/diff/40001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode85 ...
3 years, 11 months ago (2017-01-12 23:32:01 UTC) #4
Łukasz Anforowicz
FYI - I've added handling of optional args as we've discussed in the hangout. Can ...
3 years, 11 months ago (2017-01-13 21:56:01 UTC) #6
dcheng
LGTM with nits https://codereview.chromium.org/2627003003/diff/120001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2627003003/diff/120001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode142 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:142: assert(actual_class); Nit: a lot of times, ...
3 years, 11 months ago (2017-01-17 22:56:11 UTC) #7
dcheng
https://codereview.chromium.org/2627003003/diff/120001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2627003003/diff/120001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode241 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:241: MethodBlocklist(method_blocklist_filepath)); Oh, one other thing: do we need to ...
3 years, 11 months ago (2017-01-17 22:59:50 UTC) #8
Łukasz Anforowicz
https://codereview.chromium.org/2627003003/diff/120001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2627003003/diff/120001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode142 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:142: assert(actual_class); On 2017/01/17 22:56:10, dcheng wrote: > Nit: a ...
3 years, 11 months ago (2017-01-17 23:52:47 UTC) #9
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/2627003003/140001
3 years, 11 months ago (2017-01-17 23:53:22 UTC) #12
Łukasz Anforowicz
Daniel, can you PTAL?
3 years, 11 months ago (2017-01-18 00:22:47 UTC) #13
Łukasz Anforowicz
On 2017/01/18 00:22:47, Łukasz Anforowicz wrote: > Daniel, can you PTAL? Ooops. Wrong CL... :-( ...
3 years, 11 months ago (2017-01-18 00:23:23 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 00:37:17 UTC) #17
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/f2ee38a98ac32d112cb9092bb66a...

Powered by Google App Engine
This is Rietveld 408576698