DescriptionStop blacklisting the |trace| method.
This CL helps to consistently blacklist across DeclRewriterBase and
UnresolvedRewriterBase (and therefore to avoid/fix
https://crbug.com/584538) by stopping to blacklist "trace" and
"traceImpl" method names.
We will put together a separate changelist that tweaks the Oilpan's
clang plugin so it will be aware of the new name (|Trace|). This
change can be probably rolled into https://crrev.com/2329463004.
This CL also tweaks a few other remotely related things:
- Unresolved nodes should never resolve to a function, therefore
we shouldn't be blacklisting "swap" for unresolved nodes
(and we can rename the function to IsBlacklistedMethodName).
- IsBlacklistedMethodName stops blacklisting "disable".
- This enables reusing IsBlacklistedMethodName from IsBlacklistedMethod.
- Blacklisting "disable" for unresolved nodes was always a heuristic
(i.e. we cannot tell whether the unresolved method overrides
blink::InspectorAgent::disable). Flipping this heuristic around
seems okay.
BUG=584538
Committed: https://crrev.com/8c6f346940624b5e9b91b95ceeb75960861ad517
Cr-Commit-Position: refs/heads/master@{#439582}
Patch Set 1 #Patch Set 2 : Stop blacklisting the |trace| method instead. #
Messages
Total messages: 17 (8 generated)
|