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

Issue 6272025: Part 2 of repairing regressions to my old clang check plugins so Nico can (Closed)

Created:
9 years, 11 months ago by Elliot Glaysher
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, Alpha Left Google, Sergey Ulanov, Raghu Simha, Erik does not do reviews, idana, ncarter (slow), apatrick_chromium, Aaron Boodman, dmac, pam+watch_chromium.org, awong, garykac, brettw-cc_chromium.org, darin-cc_chromium.org, Ilya Sherman, James Hawkins, dhollowa
Visibility:
Public.

Description

Part 2 of repairing regressions to my old clang check plugins so Nico can deploy the clang plugins to the waterfall/trybots. BUG=none TEST=compiles Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=73014

Patch Set 1 #

Patch Set 2 : Remove nico's gypi patch #

Patch Set 3 : Copyright 2011 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -117 lines) Patch
M chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/bookmarks/bookmark_utils.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/bookmarks/bookmark_utils.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/browsing_data_local_storage_helper.h View 1 2 3 chunks +4 lines, -12 lines 0 comments Download
M chrome/browser/browsing_data_local_storage_helper.cc View 1 2 2 chunks +24 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_pref_value_map.h View 1 chunk +1 line, -10 lines 0 comments Download
M chrome/browser/extensions/extension_pref_value_map.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_updater.h View 1 2 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_updater.cc View 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/browser/extensions/external_extension_loader.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/external_extension_loader.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/external_pref_extension_loader.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/external_pref_extension_loader.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/load_from_memory_cache_details.h View 2 chunks +3 lines, -11 lines 0 comments Download
A chrome/browser/load_from_memory_cache_details.cc View 1 chunk +23 lines, -0 lines 0 comments Download
M chrome/browser/net/websocket_experiment/websocket_experiment_task.h View 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/net/websocket_experiment/websocket_experiment_task.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/policy/configuration_policy_provider.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/configuration_policy_provider.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_provider_keeper.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/configuration_policy_provider_keeper.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/remoting/setup_flow.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/renderer_host/download_resource_handler.h View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/speech/speech_input_bubble.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/speech/speech_input_bubble.cc View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/sync/engine/syncer_thread2.h View 3 chunks +17 lines, -21 lines 0 comments Download
M chrome/browser/sync/engine/syncer_thread2.cc View 13 chunks +24 lines, -18 lines 0 comments Download
M chrome/browser/sync/glue/autofill_profile_change_processor.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/autofill_profile_change_processor.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/autofill_profile_data_type_controller.h View 1 2 2 chunks +6 lines, -9 lines 0 comments Download
M chrome/browser/sync/glue/autofill_profile_data_type_controller.cc View 1 2 2 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/sync/sync_setup_flow.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/sync/sync_setup_flow.cc View 1 2 2 chunks +8 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/gpu_info.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/gpu_info.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M webkit/gpu/webgraphicscontext3d_in_process_impl.h View 1 2 2 chunks +3 lines, -5 lines 0 comments Download
M webkit/gpu/webgraphicscontext3d_in_process_impl.cc View 1 2 2 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Elliot Glaysher
More!
9 years, 11 months ago (2011-01-27 22:58:19 UTC) #1
Elliot Glaysher
On 2011/01/27 22:58:19, Elliot Glaysher wrote: > More! Ping!
9 years, 11 months ago (2011-01-28 19:38:16 UTC) #2
Nico
LG sorry for the delay :-/ How much work is it to make your plugin ...
9 years, 11 months ago (2011-01-28 20:04:51 UTC) #3
Elliot Glaysher
It may take a week or more to clean up the code. Just based off ...
9 years, 11 months ago (2011-01-28 20:27:51 UTC) #4
Nico
On Fri, Jan 28, 2011 at 12:27 PM, Elliot Glaysher (Chromium) <erg@chromium.org> wrote: > It ...
9 years, 11 months ago (2011-01-28 20:29:23 UTC) #5
Elliot Glaysher
On Fri, Jan 28, 2011 at 12:29 PM, Nico Weber <thakis@chromium.org> wrote: > Can you ...
9 years, 11 months ago (2011-01-28 20:48:30 UTC) #6
tim (not reviewing)
On 2011/01/28 20:48:30, Elliot Glaysher wrote: > On Fri, Jan 28, 2011 at 12:29 PM, ...
9 years, 10 months ago (2011-02-02 00:53:20 UTC) #7
Elliot Glaysher
The plugin warns on any struct/class type that has a templated member that is in ...
9 years, 10 months ago (2011-02-02 01:02:31 UTC) #8
tim (not reviewing)
9 years, 10 months ago (2011-02-02 01:37:46 UTC) #9
On 2011/02/02 01:02:31, Elliot Glaysher wrote:
> The plugin warns on any struct/class type that has a templated member
> that is in itself not a POD (or having 3 or more non-POD class types;
> or having >= 10 integral types that are constructed). So linked_ptr<>
> set it off since would have to instantiate
> linked_ptr<sessions::SyncSession> (vs types for
> linked_ptr<AnythingElse>).
> 
> In this case, it's easy to fix; the enum could be pulled out of the
> inner class and the definition could be put in the implementation
> (which is a good idea anyway). I would have had to instead add an
> explicit ctor/dtor if a friend was reaching in and using this class in
> a file other than syncer_thread2.h (I've seen that pattern happen a
> few times now).
> 
> On Tue, Feb 1, 2011 at 4:53 PM,  <mailto:tim@chromium.org> wrote:
> > On 2011/01/28 20:48:30, Elliot Glaysher wrote:
> >>
> >> On Fri, Jan 28, 2011 at 12:29 PM, Nico Weber <mailto:thakis@chromium.org>
> >
> > wrote:
> >>
> >> > Can you temporarily check for .*_unittest.cc in the plugin and skip
> >> > matching files until they're cleaned up?
> >
> >> I don't think so, because what clang passes to me is the location of
> >> the definition I'm considering right now, and the majority of the code
> >> that needs to be deinlined aren't in _*test.{h,cc} files.
> >
> >> Now I could just add a hack that looks at *test* in names which will
> >> reduce the amount of work I need to do, but that'll still require a
> >> bit of work before we could turn this on for everything.
> >
> >> -- Elliot
> >
> > Just curious - how did the inner-class in syncer_thread2.h mess things up?
> >
> > http://codereview.chromium.org/6272025/
> >

A ha. I think I get it :)  Thanks for the explanation!

Powered by Google App Engine
This is Rietveld 408576698