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

Issue 1922913004: Make warn-unneeded-finalizer warning usable. (Closed)

Created:
4 years, 7 months ago by sof
Modified:
4 years, 7 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -6 lines) Patch
M tools/clang/blink_gc_plugin/BlinkGCPluginConsumer.cpp View 1 chunk +26 lines, -0 lines 0 comments Download
M tools/clang/blink_gc_plugin/tests/class_does_not_require_finalization.h View 1 chunk +4 lines, -2 lines 0 comments Download
M tools/clang/blink_gc_plugin/tests/class_does_not_require_finalization.txt View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
sof
please take a look.
4 years, 7 months ago (2016-04-27 12:18:54 UTC) #2
haraken
LGTM
4 years, 7 months ago (2016-04-27 12:33:52 UTC) #3
Nico
rs-lgtm
4 years, 7 months ago (2016-04-27 20:24:18 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1922913004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1922913004/1
4 years, 7 months ago (2016-04-27 21:02:17 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-04-27 21:07:06 UTC) #7
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:13:06 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/99b895a54384834c5eb2544aec388c6d933bc167
Cr-Commit-Position: refs/heads/master@{#390184}

Powered by Google App Engine
This is Rietveld 408576698