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

Issue 2592273002: Support rewriting |to##macroArg()| into |To##macroArg()|. (Closed)

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

Description

Support rewriting |to##macroArg()| into |To##macroArg()|. BUG=676488 Committed: https://crrev.com/7d56282cc3b00bb07ebf0261f7185368b2456dce Cr-Commit-Position: refs/heads/master@{#440778}

Patch Set 1 #

Patch Set 2 : Correcting variable names referenced from a comment. #

Total comments: 10

Patch Set 3 : Comment tweaks. #

Total comments: 2

Patch Set 4 : Still need to check replacibility of the declaration. #

Patch Set 5 : Don't minimize the edit if not editing a macro. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -31 lines) Patch
M tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp View 1 2 3 4 3 chunks +75 lines, -19 lines 2 comments Download
M tools/clang/rewrite_to_chrome_style/tests/macros-expected.cc View 1 2 3 3 chunks +45 lines, -7 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/macros-original.cc View 1 2 3 3 chunks +43 lines, -5 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
Łukasz Anforowicz
Daniel, can you PTAL? Nasko - not sure if I should land it, or if ...
4 years ago (2016-12-21 23:52:12 UTC) #3
dcheng
https://codereview.chromium.org/2592273002/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2592273002/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode708 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:708: if (!verified_out_of_scratch_space) It turns out I implemented something similar, ...
4 years ago (2016-12-22 11:35:04 UTC) #4
Łukasz Anforowicz
https://codereview.chromium.org/2592273002/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2592273002/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode708 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:708: if (!verified_out_of_scratch_space) On 2016/12/22 11:35:04, dcheng wrote: > It ...
4 years ago (2016-12-22 17:59:30 UTC) #5
dcheng
LGTM https://codereview.chromium.org/2592273002/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2592273002/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode724 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:724: spell, spell.getLocWithOffset(expected_old_text.size())); On 2016/12/22 17:59:30, Łukasz Anforowicz wrote: ...
4 years ago (2016-12-22 21:32:42 UTC) #6
Łukasz Anforowicz
Daniel, you might want to take another look please? I've had to make some big ...
4 years ago (2016-12-23 00:17:49 UTC) #7
dcheng
The approach seems reasonable to me. Just one question https://codereview.chromium.org/2592273002/diff/80001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2592273002/diff/80001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode788 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:788: ...
4 years ago (2016-12-23 00:35:26 UTC) #8
Łukasz Anforowicz
Thanks. https://codereview.chromium.org/2592273002/diff/80001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2592273002/diff/80001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode788 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:788: nullptr)) On 2016/12/23 00:35:26, dcheng wrote: > It ...
3 years, 12 months ago (2016-12-27 19:17:23 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/2592273002/80001
3 years, 12 months ago (2016-12-27 19:47:15 UTC) #12
commit-bot: I haz the power
Committed patchset #5 (id:80001)
3 years, 12 months ago (2016-12-27 20:15:01 UTC) #15
commit-bot: I haz the power
3 years, 11 months ago (2017-01-02 15:46:54 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/7d56282cc3b00bb07ebf0261f7185368b2456dce
Cr-Commit-Position: refs/heads/master@{#440778}

Powered by Google App Engine
This is Rietveld 408576698