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

Issue 2246263002: Skip parameter replacements where old text != old name. (Closed)

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

Description

Skip ParmVarDecl nodes without a name. BUG=598141 Committed: https://crrev.com/1333f1b925e384fe418c6ea9205b0383bd73f396 Cr-Commit-Position: refs/heads/master@{#414877}

Patch Set 1 #

Patch Set 2 : The fix fixes the new regression test. #

Total comments: 3

Patch Set 3 : Restrict the fix to ParmVarDecls. #

Patch Set 4 : Self-review. #

Total comments: 6

Patch Set 5 : CR feedback from dcheng@: spelling loc + no isMacroId + revert some doc changes. #

Patch Set 6 : Tweak a comment so that it refers to the clang bug. #

Total comments: 2

Patch Set 7 : Detecting buggy ParmVarDecls without looking at the source text. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -10 lines) Patch
M docs/clang_tool_refactoring.md View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp View 1 2 3 4 5 6 6 chunks +29 lines, -9 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/template-expected.cc View 1 chunk +21 lines, -0 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/template-original.cc View 1 2 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
Łukasz Anforowicz
Daniel, can you take a look please? Honest feedback please - it feels as if ...
4 years, 4 months ago (2016-08-15 23:05:08 UTC) #2
Łukasz Anforowicz
Daniel, can you take a look please? I think this CL is ready for a ...
4 years, 4 months ago (2016-08-23 20:46:10 UTC) #4
dcheng
https://codereview.chromium.org/2246263002/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2246263002/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode534 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:534: On 2016/08/15 23:05:08, Łukasz Anforowicz wrote: > The new ...
4 years, 4 months ago (2016-08-25 04:08:52 UTC) #5
Łukasz Anforowicz
Daniel, can you take another look? https://codereview.chromium.org/2246263002/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2246263002/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode534 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:534: On 2016/08/25 04:08:51, ...
4 years, 3 months ago (2016-08-25 23:32:33 UTC) #6
dcheng
LGTM with a question https://codereview.chromium.org/2246263002/diff/100001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2246263002/diff/100001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode350 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:350: // https://llvm.org/bugs/show_bug.cgi?id=29145 Perhaps describe the ...
4 years, 3 months ago (2016-08-26 20:28:02 UTC) #7
Łukasz Anforowicz
https://codereview.chromium.org/2246263002/diff/100001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2246263002/diff/100001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode350 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:350: // https://llvm.org/bugs/show_bug.cgi?id=29145 On 2016/08/26 20:28:02, dcheng wrote: > Perhaps ...
4 years, 3 months ago (2016-08-26 22:39:51 UTC) #8
dcheng
Still LGTM, thanks! I don't really know if this is faster or not (I suspect ...
4 years, 3 months ago (2016-08-26 22:58:12 UTC) #11
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/2246263002/120001
4 years, 3 months ago (2016-08-27 00:18:27 UTC) #14
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 3 months ago (2016-08-27 00:25:06 UTC) #15
commit-bot: I haz the power
4 years, 3 months ago (2016-08-27 00:27:27 UTC) #17
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/1333f1b925e384fe418c6ea9205b0383bd73f396
Cr-Commit-Position: refs/heads/master@{#414877}

Powered by Google App Engine
This is Rietveld 408576698