Chromium Code Reviews
Descriptionrewrite_to_chrome_style: Consistently decide if things are in blink.
The matcher rules would check IsInBlink and then exclude stuff in gen/.
But the method-matcher is special and it has to look at overrides, and
it would look check IsInBlink but would not exclude gen/.
2ndly, the matcher rules would check that any ancestor namespace was
blink or WTF, but the method-matcher would only check the first
namespace.
This makes them consistent. IsInBlinkOrWTF will always return false for
things in gen/, both for the matcher rules and for the method-matcher.
And both will check any ancestor namespace, not just the next namespace.
R=dcheng
BUG=593446
Committed: https://crrev.com/e8821e2f26fadc019c3b82807854d03ae203d5de
Cr-Commit-Position: refs/heads/master@{#380720}
Patch Set 1 #Patch Set 2 : rewrite-asserts: test2 #
Total comments: 3
Patch Set 3 : rewrite-asserts: not-plumbing-sourcemanager #Patch Set 4 : rewrite-asserts: matcher-magic #
Total comments: 4
Patch Set 5 : rewrite-asserts: name #Patch Set 6 : rewrite-asserts: review #
Messages
Total messages: 25 (10 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||