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

Issue 1481523005: GC plugin: have -Werror issue errors for inputs having only warnings. (Closed)

Created:
5 years ago by sof
Modified:
5 years 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

GC plugin: have -Werror issue errors for inputs having only warnings. If a translation unit contains only warnings, the GC plugin will issue a warning diagnostic along with details/notes of the warnings encountered. Have that warning be under the control of -Werror; the reason for not having it as such up until now is that warnings have been far too plentiful for the Blink codebase. This is no longer the case. R=haraken,yutak,thakis BUG= Committed: https://crrev.com/45b8825685a3bcdb2478b47e8b7220cb5c46441b Cr-Commit-Position: refs/heads/master@{#362128}

Patch Set 1 #

Total comments: 2

Patch Set 2 : add -Werror test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -6 lines) Patch
M tools/clang/blink_gc_plugin/BlinkGCPluginConsumer.cpp View 1 chunk +1 line, -1 line 0 comments Download
A + tools/clang/blink_gc_plugin/tests/raw_ptr_to_gc_managed_class_error.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
A + tools/clang/blink_gc_plugin/tests/raw_ptr_to_gc_managed_class_error.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
A tools/clang/blink_gc_plugin/tests/raw_ptr_to_gc_managed_class_error.flags View 1 1 chunk +1 line, -0 lines 0 comments Download
A tools/clang/blink_gc_plugin/tests/raw_ptr_to_gc_managed_class_error.txt View 1 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
sof
please take a look. enable_oilpan=1 build configs will now default to generate raw ptr warnings. ...
5 years ago (2015-11-26 10:03:38 UTC) #2
haraken
LGTM but let's wait for nico's eyes.
5 years ago (2015-11-26 11:07:16 UTC) #3
Yuta Kitamura
The code change itself LGTM.
5 years ago (2015-11-27 05:14:05 UTC) #5
Nico
lgtm I'd add a test too if it's not too (with a .flags file with ...
5 years ago (2015-11-29 15:29:20 UTC) #6
sof
https://codereview.chromium.org/1481523005/diff/1/tools/clang/blink_gc_plugin/BlinkGCPluginConsumer.cpp File tools/clang/blink_gc_plugin/BlinkGCPluginConsumer.cpp (right): https://codereview.chromium.org/1481523005/diff/1/tools/clang/blink_gc_plugin/BlinkGCPluginConsumer.cpp#newcode227 tools/clang/blink_gc_plugin/BlinkGCPluginConsumer.cpp:227: DiagnosticsEngine::Warning, kClassDoesNotRequireFinalization); On 2015/11/29 15:29:20, Nico wrote: > Here ...
5 years ago (2015-11-29 16:51:16 UTC) #7
Nico
Yeah but couldn't you locally just turn off werror just as well? That's what I ...
5 years ago (2015-11-29 20:06:35 UTC) #8
sof1
Den 11/29/2015 21:06, Nico Weber skreiv: > Yeah but couldn't you locally just turn off ...
5 years ago (2015-11-29 20:10:49 UTC) #9
Nico
What's the value of that warning then? On Nov 29, 2015 3:10 PM, "Sigbjorn Finne" ...
5 years ago (2015-11-29 22:33:43 UTC) #10
sof1
Den 11/29/2015 23:33, Nico Weber skreiv: > What's the value of that warning then? > ...
5 years ago (2015-11-30 06:29:58 UTC) #11
sof
On 2015/11/29 15:29:20, Nico wrote: > lgtm > > I'd add a test too if ...
5 years ago (2015-11-30 10:51:08 UTC) #12
Nico
lgtm, thanks!
5 years ago (2015-11-30 14:07:34 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1481523005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1481523005/20001
5 years ago (2015-11-30 14:33:43 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-11-30 14:38:41 UTC) #19
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/45b8825685a3bcdb2478b47e8b7220cb5c46441b Cr-Commit-Position: refs/heads/master@{#362128}
5 years ago (2015-11-30 14:39:33 UTC) #21
sof
5 years ago (2015-12-09 14:37:47 UTC) #23
Message was sent while issue was closed.
fyi - once http://code.google.com/p/chromium/issues/detail?id=565541 sticks, the
Oilpan bots should have this one.

Powered by Google App Engine
This is Rietveld 408576698