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

Issue 1783923003: rewrite_to_chrome_style: Blacklisted methods are not blink methods! (Closed)

Created:
4 years, 9 months ago by danakj
Modified:
4 years, 9 months ago
Reviewers:
dcheng
CC:
dcheng, chromium-reviews, piman, Nico
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

rewrite_to_chrome_style: Remove blacklisted methods with matcher Consider blacklisted methods when looking at deciding to match against them or not rather than deciding to not rename them much later. R=dcheng BUG=593446 Committed: https://crrev.com/27f1728f9c2cdfb9995c671783edd55bd66470be Cr-Commit-Position: refs/heads/master@{#380735}

Patch Set 1 #

Total comments: 3

Patch Set 2 : rewrite-blacklist-namespace: blacklistfunction #

Total comments: 2

Patch Set 3 : rewrite-blacklist-namespace: local #

Patch Set 4 : rewrite-blacklist-namespace: rewrite #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -30 lines) Patch
M tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp View 1 2 3 3 chunks +46 lines, -30 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
danakj
Depends on https://codereview.chromium.org/1785563002/
4 years, 9 months ago (2016-03-10 19:43:35 UTC) #1
dcheng
https://codereview.chromium.org/1783923003/diff/1/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/1783923003/diff/1/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode138 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:138: // Blacklisted methods are not considered to be in ...
4 years, 9 months ago (2016-03-10 22:52:46 UTC) #2
danakj
https://codereview.chromium.org/1783923003/diff/1/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/1783923003/diff/1/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode138 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:138: // Blacklisted methods are not considered to be in ...
4 years, 9 months ago (2016-03-10 22:55:14 UTC) #3
dcheng
https://codereview.chromium.org/1783923003/diff/1/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/1783923003/diff/1/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode138 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:138: // Blacklisted methods are not considered to be in ...
4 years, 9 months ago (2016-03-10 22:57:53 UTC) #4
danakj
Done PTAL (Also at the predecessor CL :))
4 years, 9 months ago (2016-03-10 23:53:56 UTC) #5
dcheng
lgtm https://codereview.chromium.org/1783923003/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/1783923003/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode328 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:328: name = original_name.str(); Nit: get rid of |original_name| ...
4 years, 9 months ago (2016-03-10 23:57:42 UTC) #6
danakj
https://codereview.chromium.org/1783923003/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/1783923003/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode328 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:328: name = original_name.str(); On 2016/03/10 23:57:42, dcheng wrote: > ...
4 years, 9 months ago (2016-03-11 01:49:33 UTC) #7
danakj
Rewrote as isBlacklistedFunction() matcher. PTAL
4 years, 9 months ago (2016-03-11 20:40:38 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1783923003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1783923003/60001
4 years, 9 months ago (2016-03-11 20:48:39 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1783923003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1783923003/60001
4 years, 9 months ago (2016-03-11 20:50:53 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-11 21:21:24 UTC) #17
commit-bot: I haz the power
4 years, 9 months ago (2016-03-11 21:23:08 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/27f1728f9c2cdfb9995c671783edd55bd66470be
Cr-Commit-Position: refs/heads/master@{#380735}

Powered by Google App Engine
This is Rietveld 408576698