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

Issue 645853012: Standardize usage of virtual/override/final in gin/ (Closed)

Created:
6 years, 2 months ago by dcheng
Modified:
6 years, 2 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Standardize usage of virtual/override/final in gin/ The Google C++ style guide states: Explicitly annotate overrides of virtual functions or virtual destructors with an override or (less frequently) final specifier. Older (pre-C++11) code will use the virtual keyword as an inferior alternative annotation. For clarity, use exactly one of override, final, or virtual when declaring an override. To better conform to these guidelines, the following constructs have been rewritten: - if a base class has a virtual destructor, then: virtual ~Foo(); -> ~Foo() override; - virtual void Foo() override; -> void Foo() override; - virtual void Foo() override final; -> void Foo() final; This patch was automatically generated. The clang plugin can generate fixit hints, which are suggested edits when it is 100% sure it knows how to fix a problem. The hints from the clang plugin were applied to the source tree using the tool in https://codereview.chromium.org/598073004. BUG=417463 R=abarth@chromium.org Committed: https://crrev.com/074c039593e8beb054fcc7a2701e753883eaa596 Cr-Commit-Position: refs/heads/master@{#300925}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -64 lines) Patch
M gin/array_buffer.h View 1 chunk +3 lines, -3 lines 0 comments Download
M gin/interceptor_unittest.cc View 5 chunks +16 lines, -17 lines 0 comments Download
M gin/modules/module_registry_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M gin/modules/module_runner_delegate.h View 2 chunks +4 lines, -4 lines 0 comments Download
M gin/modules/timer.h View 2 chunks +4 lines, -6 lines 0 comments Download
M gin/modules/timer_unittest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M gin/per_context_data.h View 1 chunk +1 line, -1 line 0 comments Download
M gin/public/v8_platform.h View 1 chunk +5 lines, -5 lines 0 comments Download
M gin/run_microtasks_observer.h View 1 chunk +2 lines, -2 lines 0 comments Download
M gin/shell/gin_main.cc View 1 chunk +1 line, -2 lines 0 comments Download
M gin/shell_runner.h View 1 chunk +8 lines, -8 lines 0 comments Download
M gin/test/file_runner.h View 1 chunk +2 lines, -3 lines 0 comments Download
M gin/wrappable_unittest.cc View 5 chunks +6 lines, -9 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
dcheng
6 years, 2 months ago (2014-10-21 20:46:59 UTC) #1
Avi (use Gerrit)
On 2014/10/21 20:46:59, dcheng wrote: In your description: - virtual void Foo() override; -> void ...
6 years, 2 months ago (2014-10-21 20:48:20 UTC) #2
dcheng
On 2014/10/21 at 20:48:20, avi wrote: > On 2014/10/21 20:46:59, dcheng wrote: > > In ...
6 years, 2 months ago (2014-10-21 20:49:30 UTC) #3
dcheng
aa@, mind taking a look at this?
6 years, 2 months ago (2014-10-22 21:50:02 UTC) #5
Aaron Boodman
cool, lgtm
6 years, 2 months ago (2014-10-23 17:56:21 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/645853012/1
6 years, 2 months ago (2014-10-23 17:58:26 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
6 years, 2 months ago (2014-10-23 19:08:34 UTC) #9
commit-bot: I haz the power
6 years, 2 months ago (2014-10-23 19:09:51 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/074c039593e8beb054fcc7a2701e753883eaa596
Cr-Commit-Position: refs/heads/master@{#300925}

Powered by Google App Engine
This is Rietveld 408576698