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

Issue 1642323002: rewrite_to_chrome_style: Fix assert calling getName() when there's none (Closed)

Created:
4 years, 10 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: Fix assert calling getName() when there's none When there's no identifier to rename, don't try to GetNameForDecl(), and always use getName() consistently. R=dcheng BUG=578344, 581902 Committed: https://crrev.com/98ce11e5cca3e666a5034d85eab5823eaaec259a Cr-Commit-Position: refs/heads/master@{#372245}

Patch Set 1 #

Total comments: 2

Patch Set 2 : rewrite-getname: . #

Patch Set 3 : rewrite-getname: rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp View 1 2 3 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
danakj
4 years, 10 months ago (2016-01-29 01:10:32 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1642323002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1642323002/1
4 years, 10 months ago (2016-01-29 01:10:52 UTC) #3
dcheng
https://codereview.chromium.org/1642323002/diff/1/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/1642323002/diff/1/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode169 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:169: if (!decl.getIdentifier()) Does it makes sense to move this ...
4 years, 10 months ago (2016-01-29 01:13:05 UTC) #5
danakj
PTAL https://codereview.chromium.org/1642323002/diff/1/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/1642323002/diff/1/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode169 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:169: if (!decl.getIdentifier()) On 2016/01/29 01:13:05, dcheng wrote: > ...
4 years, 10 months ago (2016-01-29 01:15:05 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1642323002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1642323002/20001
4 years, 10 months ago (2016-01-29 01:15:29 UTC) #8
dcheng
lgtm
4 years, 10 months ago (2016-01-29 01:17:57 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/123484) mac_chromium_compile_dbg_ng on ...
4 years, 10 months ago (2016-01-29 01:18:35 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1642323002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1642323002/40001
4 years, 10 months ago (2016-01-29 01:21:32 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1642323002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1642323002/40001
4 years, 10 months ago (2016-01-29 01:23:18 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-01-29 01:46:19 UTC) #20
commit-bot: I haz the power
4 years, 10 months ago (2016-01-29 01:47:41 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/98ce11e5cca3e666a5034d85eab5823eaaec259a
Cr-Commit-Position: refs/heads/master@{#372245}

Powered by Google App Engine
This is Rietveld 408576698