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

Issue 2564663002: Skipping renaming of begin/end/etc. should be unconditional. (Closed)

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

Description

Skipping renaming of begin/end/etc. should be unconditional. Before this CL, we tried to keep renaming |begin| -> |Begin| (and similarily for |end|, |rbegin|, |rend|) if the return type contained "iterator" in the typename. Unfortunately this meant that some undesired renamed were still happening (see the bug for more details). After this CL we will unconditionally avoid renaming |begin| (and |end|, |rbegin|, |rend|). We can do this rename where needed manually, after the "big rename" is done and sticks. BUG=672353 Committed: https://crrev.com/d5e9f965676309e39c752db5e90e286b0e892260 Cr-Commit-Position: refs/heads/master@{#437401}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -31 lines) Patch
M tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp View 1 chunk +3 lines, -15 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/methods-original.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/template-expected.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/template-original.cc View 1 chunk +11 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 9 (4 generated)
Łukasz Anforowicz
Daniel, could you please take a look?
4 years ago (2016-12-08 22:18:16 UTC) #2
dcheng
lgtm
4 years ago (2016-12-08 22:27:40 UTC) #3
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/2564663002/1
4 years ago (2016-12-08 22:39:07 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-09 01:16:50 UTC) #7
commit-bot: I haz the power
4 years ago (2016-12-09 01:20:27 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/d5e9f965676309e39c752db5e90e286b0e892260
Cr-Commit-Position: refs/heads/master@{#437401}

Powered by Google App Engine
This is Rietveld 408576698