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

Issue 1639133004: rewrite_to_chrome_style: skip nodes in synthesized functions. (Closed)

Created:
4 years, 10 months ago by dcheng
Modified:
4 years, 10 months ago
Reviewers:
danakj
CC:
chromium-reviews
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: skip nodes in synthesized functions. Trickily enough, there were two matchers triggering this rewrite: - the reference to the field being initialized in the synthesized copy constructor - the reference to the field being copied in the synthesized copy constructor BUG=581871 Committed: https://crrev.com/14c854298e0bea29d1c6b57c5ff757ea83744477 Cr-Commit-Position: refs/heads/master@{#372246}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 9

Patch Set 3 : Add comments #

Total comments: 2

Patch Set 4 : Comments #

Patch Set 5 : Rebase race #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -2 lines) Patch
M tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp View 1 2 3 4 4 chunks +19 lines, -2 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/fields-original.cc View 1 2 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
dcheng
https://codereview.chromium.org/1639133004/diff/20001/tools/clang/rewrite_to_chrome_style/tests/fields-original.cc File tools/clang/rewrite_to_chrome_style/tests/fields-original.cc (right): https://codereview.chromium.org/1639133004/diff/20001/tools/clang/rewrite_to_chrome_style/tests/fields-original.cc#newcode53 tools/clang/rewrite_to_chrome_style/tests/fields-original.cc:53: // Force instantiation of a copy constructor for blink::C ...
4 years, 10 months ago (2016-01-28 06:07:32 UTC) #3
danakj
https://codereview.chromium.org/1639133004/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/1639133004/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode402 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:402: // Needed to avoid matching member references in functions ...
4 years, 10 months ago (2016-01-28 23:08:20 UTC) #4
dcheng
https://codereview.chromium.org/1639133004/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/1639133004/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode402 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:402: // Needed to avoid matching member references in functions ...
4 years, 10 months ago (2016-01-28 23:15:44 UTC) #5
danakj
LGTM https://codereview.chromium.org/1639133004/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/1639133004/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode407 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:407: unless(hasAncestor(functionDecl(isDefaulted()))))); On 2016/01/28 23:15:43, dcheng wrote: > On ...
4 years, 10 months ago (2016-01-29 00:16:56 UTC) #6
dcheng
https://codereview.chromium.org/1639133004/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/1639133004/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode407 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:407: unless(hasAncestor(functionDecl(isDefaulted()))))); On 2016/01/29 at 00:16:55, danakj wrote: > On ...
4 years, 10 months ago (2016-01-29 01:17:30 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1639133004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1639133004/60001
4 years, 10 months ago (2016-01-29 01:18:50 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/123486) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 10 months ago (2016-01-29 01:21:24 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1639133004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1639133004/80001
4 years, 10 months ago (2016-01-29 01:23:13 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 10 months ago (2016-01-29 01:46:40 UTC) #16
commit-bot: I haz the power
4 years, 10 months ago (2016-01-29 01:47:48 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/14c854298e0bea29d1c6b57c5ff757ea83744477
Cr-Commit-Position: refs/heads/master@{#372246}

Powered by Google App Engine
This is Rietveld 408576698