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

Issue 2276983002: Prepend "Get" to method name if method name conflicts with return type name. (Closed)

Created:
4 years, 4 months ago by Łukasz Anforowicz
Modified:
4 years, 3 months ago
Reviewers:
dcheng
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@blink-style-partition-allocator-new-array-delete-array
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Prepend "Get" to method name if method name conflicts with return type name. BUG=582312 Committed: https://crrev.com/93f68599689997ab8d48961c221ee4a3564a5d60 Cr-Commit-Position: refs/heads/master@{#414550}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Use getBaseTypeIdentifier instead of a matcher. #

Patch Set 3 : Use getBaseTypeIdentifier instead of a matcher. #

Patch Set 4 : Rebasing on ToT (more or less). #

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

Depends on Patchset:

Messages

Total messages: 11 (4 generated)
Łukasz Anforowicz
Daniel, can you take a look please? This CL implements esprehn@'s suggestion from https://crbug.com/582312#c17. I've ...
4 years, 4 months ago (2016-08-24 18:09:50 UTC) #2
dcheng
https://codereview.chromium.org/2276983002/diff/1/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2276983002/diff/1/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode347 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:347: hasCanonicalType(hasDeclaration(namedDecl(hasName(name)))); Can we just pull the return type out ...
4 years, 3 months ago (2016-08-25 17:36:00 UTC) #3
Łukasz Anforowicz
Daniel, can you take another look please? Also: while I think this CL moves things ...
4 years, 3 months ago (2016-08-25 18:30:40 UTC) #4
dcheng
On 2016/08/25 18:30:40, Łukasz Anforowicz wrote: > Daniel, can you take another look please? > ...
4 years, 3 months ago (2016-08-25 21:00:57 UTC) #5
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/2276983002/60001
4 years, 3 months ago (2016-08-25 21:16:43 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-08-25 22:00:28 UTC) #9
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 22:02:56 UTC) #11
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/93f68599689997ab8d48961c221ee4a3564a5d60
Cr-Commit-Position: refs/heads/master@{#414550}

Powered by Google App Engine
This is Rietveld 408576698