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

Issue 1647763002: rewrite_to_chrome_style: Don't rename begin()/end()/rbegin()/rend(). (Closed)

Created:
4 years, 11 months ago by danakj
Modified:
4 years, 10 months ago
Reviewers:
dcheng
CC:
chromium-reviews, piman
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: Don't rename begin()/end()/rbegin()/rend(). These methods need their names to be lowercase for STL use and for range-based for loops to work. R=dcheng BUG=581566 Committed: https://crrev.com/14026e46f2bdc97b035a452c7d73bc8a51ff0a81 Cr-Commit-Position: refs/heads/master@{#372174}

Patch Set 1 #

Patch Set 2 : rewrite-begin-end: methods-only #

Patch Set 3 : rewrite-begin-end: not-static-methods #

Total comments: 5

Patch Set 4 : rewrite-begin-end: . #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -0 lines) Patch
M tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp View 1 2 3 1 chunk +13 lines, -0 lines 2 comments Download
M tools/clang/rewrite_to_chrome_style/tests/functions-expected.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/functions-original.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/methods-original.cc View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
danakj
4 years, 11 months ago (2016-01-28 01:07:14 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1647763002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1647763002/40001
4 years, 11 months ago (2016-01-28 01:08:51 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-28 02:14:31 UTC) #5
dcheng
https://codereview.chromium.org/1647763002/diff/40001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/1647763002/diff/40001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode67 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:67: static const std::string kBlacklist[] = {"begin", "end", "rbegin", Did ...
4 years, 10 months ago (2016-01-28 06:58:12 UTC) #6
danakj
PTAL https://codereview.chromium.org/1647763002/diff/40001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/1647763002/diff/40001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode67 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:67: static const std::string kBlacklist[] = {"begin", "end", "rbegin", ...
4 years, 10 months ago (2016-01-28 19:47:58 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1647763002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1647763002/60001
4 years, 10 months ago (2016-01-28 19:49:35 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-01-28 20:10:41 UTC) #11
dcheng
lgtm https://codereview.chromium.org/1647763002/diff/60001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/1647763002/diff/60001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode64 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:64: if (const auto* method = clang::dyn_cast<const clang::CXXMethodDecl>(&decl)) { ...
4 years, 10 months ago (2016-01-28 20:20:33 UTC) #12
danakj
https://codereview.chromium.org/1647763002/diff/60001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/1647763002/diff/60001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode64 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:64: if (const auto* method = clang::dyn_cast<const clang::CXXMethodDecl>(&decl)) { On ...
4 years, 10 months ago (2016-01-28 21:26:38 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1647763002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1647763002/60001
4 years, 10 months ago (2016-01-28 21:27:21 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-01-28 21:36:37 UTC) #16
commit-bot: I haz the power
4 years, 10 months ago (2016-01-28 21:38:09 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/14026e46f2bdc97b035a452c7d73bc8a51ff0a81
Cr-Commit-Position: refs/heads/master@{#372174}

Powered by Google App Engine
This is Rietveld 408576698