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

Issue 686543002: Standardize usage of virtual/override/final specifiers. (Closed)

Created:
6 years, 1 month ago by dcheng
Modified:
6 years, 1 month ago
Reviewers:
Dan Beam
CC:
benquan, chromium-reviews, Dane Wallinga, dyu1, estade+watch_chromium.org, gcasto+watchlist_chromium.org, Ilya Sherman, mkwst+watchlist-passwords_chromium.org, rouslan+autofillwatch_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Standardize usage of virtual/override/final specifiers. 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=dbeam@chromium.org Committed: https://crrev.com/0c1f5ce4b1b9cb3c88a0982416fe7716c718ee92 Cr-Commit-Position: refs/heads/master@{#301509}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+220 lines, -226 lines) Patch
M chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.h View 1 chunk +13 lines, -14 lines 0 comments Download
M chrome/browser/ui/views/autofill/autofill_dialog_views.h View 10 chunks +101 lines, -104 lines 0 comments Download
M chrome/browser/ui/views/autofill/autofill_dialog_views.cc View 11 chunks +19 lines, -20 lines 0 comments Download
M chrome/browser/ui/views/autofill/autofill_dialog_views_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/autofill/autofill_popup_base_view.h View 2 chunks +13 lines, -13 lines 0 comments Download
M chrome/browser/ui/views/autofill/autofill_popup_view_views.h View 1 chunk +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/autofill/decorated_textfield.h View 2 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/autofill/expanding_textfield.h View 2 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.h View 1 chunk +9 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/autofill/info_bubble.h View 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/autofill/info_bubble.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/autofill/new_credit_card_bubble_views.h View 1 chunk +8 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/autofill/password_generation_popup_view_tester_views.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/autofill/password_generation_popup_view_views.h View 1 chunk +11 lines, -11 lines 0 comments Download
M chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/autofill/tooltip_icon.h View 1 chunk +8 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/autofill/tooltip_icon.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
dcheng
6 years, 1 month ago (2014-10-27 21:03:42 UTC) #1
Dan Beam
rs lgtm
6 years, 1 month ago (2014-10-27 23:04:37 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/686543002/1
6 years, 1 month ago (2014-10-27 23:14:30 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1)
6 years, 1 month ago (2014-10-28 00:19:44 UTC) #5
commit-bot: I haz the power
6 years, 1 month ago (2014-10-28 00:20:33 UTC) #6
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/0c1f5ce4b1b9cb3c88a0982416fe7716c718ee92
Cr-Commit-Position: refs/heads/master@{#301509}

Powered by Google App Engine
This is Rietveld 408576698