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

Issue 1641703003: rewrite_to_chrome_style: skip nodes expanded from macros (Closed)

Created:
4 years, 10 months ago by dcheng
Modified:
4 years, 10 months ago
Reviewers:
danakj
CC:
chromium-reviews, Nico
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: skip nodes expanded from macros Since the tool wasn't using the "spelling" location, replacements would be emitted using source locations into an unnamed input buffer. As a result, the emitted replacements would never apply since the file name would never match. However, it ends up still being included in the symbol dump for the rebase tool. Since these identifiers aren't being renamed, just skip processing anything inside a macro. BUG=581902 Committed: https://crrev.com/7370c5666dc5fb4f29af86c6daa18657599bf2ed Cr-Commit-Position: refs/heads/master@{#372203}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -11 lines) Patch
M tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp View 1 chunk +12 lines, -11 lines 1 comment Download

Messages

Total messages: 9 (4 generated)
dcheng
Note: I'm a little fuzzy on how clang's macro expansion all works internally, so there's ...
4 years, 10 months ago (2016-01-28 06:47:43 UTC) #3
danakj
LGTM
4 years, 10 months ago (2016-01-28 23:03:13 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1641703003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1641703003/1
4 years, 10 months ago (2016-01-28 23:04:58 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 10 months ago (2016-01-28 23:26:59 UTC) #7
commit-bot: I haz the power
4 years, 10 months ago (2016-01-28 23:27:50 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/7370c5666dc5fb4f29af86c6daa18657599bf2ed
Cr-Commit-Position: refs/heads/master@{#372203}

Powered by Google App Engine
This is Rietveld 408576698