Chromium Code Reviews
Descriptionrewrite_to_chrome_style: tweak macro ignoring logic.
If the name is defined from a macro (e.g. using something like
DEFINE_TYPE_CASTS), then the rewriter should ignore it: macros generally
need to be manually updated to avoid massive compile breakage.
On the other hand, an identifier appearing in the invocation of a
function-like macro should still be rewritten.
The updated logic only skips rewriting if the declaration referenced by
the identifier originates from a macro expansion; otherwise, it will
rewrite the identifier to the new name.
BUG=581902
Committed: https://crrev.com/21f01682a450f0df6ddcfaba715b5d2078c12d91
Cr-Commit-Position: refs/heads/master@{#372276}
Patch Set 1 #Patch Set 2 : Add expected #Patch Set 3 : rebase #Patch Set 4 : Betterer commetns #
Messages
Total messages: 8 (3 generated)
|
|||||||||||||||||||||||||||||||||||||