DescriptionMake warn-unneeded-finalizer warning usable.
The Blink GC plugin option warn-unneeded-finalizer (enabled by including
"warn-unneeded-finalizer=1" in your "blink_gc_plugin_flags" gyp defines)
is potentially useful in identifying classes which needlessly derive from
GarbageCollectedFinalized<> where GarbageCollected<> would do.
To avoid far too many false positives to make it practically useful on
the Blink codebase, make it be more forgiving about bases with virtual
destructors + recognize class declarations with
finalizeGarbageCollectedObject() methods defined. Neither of those
two cases should be reported as warnings.
R=
BUG=
Committed: https://crrev.com/99b895a54384834c5eb2544aec388c6d933bc167
Cr-Commit-Position: refs/heads/master@{#390184}
Patch Set 1 #
Messages
Total messages: 9 (3 generated)
|