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

Issue 2640283003: Look at canonical decl, when deciding whether to rename or not. (Closed)

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

Description

Look at canonical decl, when deciding whether to rename or not. This is motivated by an observation that before this CL blink::V8Document::openMethodCustom got renamed, even though it has its declaration in a generated header (only the definition of the method is in a non-generated source file). BUG=682835 Review-Url: https://codereview.chromium.org/2640283003 Cr-Commit-Position: refs/heads/master@{#445466} Committed: https://chromium.googlesource.com/chromium/src/+/421a2db9f7cb0ff46bd0d1a89f9ab314737b7308

Patch Set 1 #

Patch Set 2 : Fixed handling of function template specializations. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -1 line) Patch
M tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp View 1 2 chunks +8 lines, -1 line 1 comment Download
M tools/clang/rewrite_to_chrome_style/tests/template-expected.cc View 1 1 chunk +25 lines, -0 lines 1 comment Download
M tools/clang/rewrite_to_chrome_style/tests/template-original.cc View 1 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (4 generated)
Łukasz Anforowicz
Daniel, can you PTAL? https://codereview.chromium.org/2640283003/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2640283003/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode1449 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:1449: unless(hasCanonicalDecl(isExpansionInFileMatching(kGeneratedFileRegex)))); These are the only ...
3 years, 11 months ago (2017-01-21 01:04:01 UTC) #2
dcheng
LGTM
3 years, 11 months ago (2017-01-23 19:14:33 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/2640283003/20001
3 years, 11 months ago (2017-01-23 19:28:08 UTC) #5
commit-bot: I haz the power
3 years, 11 months ago (2017-01-23 20:28:05 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/421a2db9f7cb0ff46bd0d1a89f9a...

Powered by Google App Engine
This is Rietveld 408576698